diff --git a/src/components/ui/Panel.vue b/src/components/ui/Panel.vue
index 3385d0b9..15f6284f 100644
--- a/src/components/ui/Panel.vue
+++ b/src/components/ui/Panel.vue
@@ -1,37 +1,3 @@
-
-
-
-
-
+
-
+
{{ icon }}
{{ title }}
-
-
+
+
-
+
{{ mdiChevronDown }}
@@ -62,7 +28,7 @@
-
+
@@ -73,16 +39,16 @@ import Component from 'vue-class-component'
import { Mixins, Prop } from 'vue-property-decorator'
import BaseMixin from '@/components/mixins/base'
import { panelToolbarHeight } from '@/store/variables'
-import { mdiChevronDown, mdiChevronUp } from '@mdi/js'
+import { mdiChevronDown } from '@mdi/js'
+import { TranslateResult } from 'vue-i18n'
@Component
export default class Panel extends Mixins(BaseMixin) {
- mdiChevronUp = mdiChevronUp
mdiChevronDown = mdiChevronDown
panelToolbarHeight = panelToolbarHeight
@Prop({ default: null }) declare readonly icon: string | null
- @Prop({ required: true, default: '' }) declare readonly title: string
+ @Prop({ required: true, default: '' }) declare readonly title: string | TranslateResult
@Prop({ default: false }) declare readonly collapsible: boolean
@Prop({ required: true }) declare readonly cardClass: string
@Prop({ default: '' }) declare readonly toolbarColor: string
@@ -116,3 +82,37 @@ export default class Panel extends Mixins(BaseMixin) {
}
}
+
+
+
+