mirror of https://github.com/buster-so/buster.git
bold search
This commit is contained in:
parent
393720efc1
commit
bc0afa73e2
|
@ -24,7 +24,6 @@ export const apiErrorHandler = (errors: unknown = {}): ApiError => {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isErrorObject(data) && data.message) {
|
if (isErrorObject(data) && data.message) {
|
||||||
console.log('data.message', data.message);
|
|
||||||
return { message: String(data.message), status };
|
return { message: String(data.message), status };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ export const AddToCollectionModal: React.FC<{
|
||||||
render: (name, record) => {
|
render: (name, record) => {
|
||||||
const Icon = assetTypeToIcon(record.assetType) || ASSET_ICONS.metrics;
|
const Icon = assetTypeToIcon(record.assetType) || ASSET_ICONS.metrics;
|
||||||
return (
|
return (
|
||||||
<div className="flex items-center gap-1.5">
|
<div className="flex items-center gap-1.5 search-bold">
|
||||||
<span className="text-icon-color">
|
<span className="text-icon-color">
|
||||||
<Icon />
|
<Icon />
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -62,7 +62,7 @@ export const AddMetricModal: React.FC<{
|
||||||
render: (value, record) => {
|
render: (value, record) => {
|
||||||
const Icon = assetTypeToIcon(record.assetType);
|
const Icon = assetTypeToIcon(record.assetType);
|
||||||
return (
|
return (
|
||||||
<div className="flex items-center gap-1.5">
|
<div className="flex items-center gap-1.5 search-bold">
|
||||||
<span className="text-icon-color">
|
<span className="text-icon-color">
|
||||||
<Icon />
|
<Icon />
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -54,3 +54,9 @@
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.search-bold {
|
||||||
|
.keyword {
|
||||||
|
@apply font-semibold;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue