Skip to content

Commit c1080fc

Browse files
committed
small frontend changes
1 parent 876cf4d commit c1080fc

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

superset-frontend/src/explore/components/PropertiesModal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ function PropertiesModal({
422422
</StyledHelpBlock>
423423
</FormItem>
424424
{isFeatureEnabled(FeatureFlag.TAGGING_SYSTEM) && (
425-
<h3 style={{ marginTop: '1em' }}>{t('Tags')}</h3>
425+
<h3 css={{ marginTop: '1em' }}>{t('Tags')}</h3>
426426
)}
427427
{isFeatureEnabled(FeatureFlag.TAGGING_SYSTEM) && (
428428
<FormItem>

superset-frontend/src/tags.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ export function fetchAllTags(
5050
callback: (json: JsonObject) => void,
5151
error: (response: Response) => void,
5252
) {
53-
const url = `/api/v1/tag`;
54-
SupersetClient.get({ endpoint: url })
53+
SupersetClient.get({ endpoint: `/api/v1/tag` })
5554
.then(({ json }) => callback(json))
5655
.catch(response => error(response));
5756
}

superset-frontend/src/views/CRUD/dashboard/DashboardList.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,13 @@ function DashboardList(props: DashboardListProps) {
366366
row: {
367367
original: { tags = [] },
368368
},
369-
}: any) => (
369+
}: {
370+
row: {
371+
original: {
372+
tags: Tag[];
373+
};
374+
};
375+
}) => (
370376
// Only show custom type tags
371377
<TagsList
372378
tags={tags.filter(

0 commit comments

Comments
 (0)