fix: 🐛 icon in titleContainer
This commit is contained in:
parent
e0aebd8f32
commit
291cd65417
@ -43,7 +43,7 @@
|
|||||||
<i
|
<i
|
||||||
v-else-if="metadata.icon && !narrow"
|
v-else-if="metadata.icon && !narrow"
|
||||||
class="icon"
|
class="icon"
|
||||||
:class="metadata.icon"
|
:class="icon(metadata.icon)"
|
||||||
></i>
|
></i>
|
||||||
|
|
||||||
<div class="title">
|
<div class="title">
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<div ref="el" class="fdidabkc" :style="{ background: bg }" @click="onClick">
|
<div ref="el" class="fdidabkc" :style="{ background: bg }" @click="onClick">
|
||||||
<template v-if="metadata">
|
<template v-if="metadata">
|
||||||
<div class="titleContainer" @click="showTabsPopup">
|
<div class="titleContainer" @click="showTabsPopup">
|
||||||
<i v-if="metadata.icon" class="icon" :class="metadata.icon"></i>
|
<i v-if="metadata.icon" class="icon" :class="icon(metadata.icon)"></i>
|
||||||
|
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<div class="title">{{ metadata.title }}</div>
|
<div class="title">{{ metadata.title }}</div>
|
||||||
@ -63,6 +63,7 @@ import { scrollToTop } from "@/scripts/scroll";
|
|||||||
import MkButton from "@/components/MkButton.vue";
|
import MkButton from "@/components/MkButton.vue";
|
||||||
import { globalEvents } from "@/events";
|
import { globalEvents } from "@/events";
|
||||||
import { injectPageMetadata } from "@/scripts/page-metadata";
|
import { injectPageMetadata } from "@/scripts/page-metadata";
|
||||||
|
import icon from "@/scripts/icon"
|
||||||
|
|
||||||
interface Tab {
|
interface Tab {
|
||||||
key?: string | null;
|
key?: string | null;
|
||||||
|
Loading…
Reference in New Issue
Block a user