Add panel options to header headline on drawer

This commit is contained in:
rijkvanzanten
2021-06-17 16:57:09 -04:00
parent 1efafcf150
commit a7269a3c53
3 changed files with 4 additions and 0 deletions

View File

@@ -19,9 +19,11 @@
<div class="content">
<v-overlay v-if="$slots.sidebar" absolute @click="sidebarActive = false" />
<nav v-if="$slots.sidebar" class="sidebar">
<slot name="sidebar" />
</nav>
<main ref="mainEl" class="main">
<header-bar :title="title" @primary="$emit('cancel')" primary-action-icon="close">
<template #title><slot name="title" /></template>

View File

@@ -549,6 +549,7 @@ label: Label
insights: Insights
dashboard: Dashboard
panel: Panel
panel_options: Panel Options
panel_header: Panel Header
panel_name_placeholder: Name this panel...
panel_note_placeholder: Optional details about this panel...

View File

@@ -2,6 +2,7 @@
<v-drawer
:model-value="isOpen"
:title="(panel && panel.name) || t('panel')"
:subtitle="t('panel_options')"
@cancel="$emit('cancel')"
icon="insert_chart"
persistent