Skip to content

Commit c6f4019

Browse files
committed
Refactor snippet type display logic #867
1 parent bece544 commit c6f4019

File tree

1 file changed

+1
-1
lines changed
  • src/dashboardWebView/components/SnippetsView

1 file changed

+1
-1
lines changed

src/dashboardWebView/components/SnippetsView/Item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export const Item: React.FunctionComponent<IItemProps> = ({
183183

184184
<div className='inline-block mr-1 mt-1 text-xs text-[var(--vscode-button-secondaryForeground)] bg-[var(--vscode-button-secondaryBackground)] border border-[var(--frontmatter-border)] rounded px-1 py-0.5'>
185185
{
186-
snippet.isMediaSnippet ? l10n.t(LocalizationKey.dashboardSnippetsViewItemTypeContent) : l10n.t(LocalizationKey.dashboardSnippetsViewItemTypeMedia)
186+
snippet.isMediaSnippet ? l10n.t(LocalizationKey.dashboardSnippetsViewItemTypeMedia) : l10n.t(LocalizationKey.dashboardSnippetsViewItemTypeContent)
187187
}
188188
</div>
189189

0 commit comments

Comments
 (0)