diff --git a/app/src/interfaces/select-color/select-color.vue b/app/src/interfaces/select-color/select-color.vue index 2d7fd8c3ff..bc54ca9033 100644 --- a/app/src/interfaces/select-color/select-color.vue +++ b/app/src/interfaces/select-color/select-color.vue @@ -3,7 +3,7 @@ - + @@ -22,18 +22,34 @@ - + + {{ panel.id || panel.$tempID }} + - + - diff --git a/app/src/modules/insights/routes/panel-configuration.vue b/app/src/modules/insights/routes/panel-configuration.vue index c681a747c0..08b6645b71 100644 --- a/app/src/modules/insights/routes/panel-configuration.vue +++ b/app/src/modules/insights/routes/panel-configuration.vue @@ -1,11 +1,17 @@ - + + + + + + + {{ $t('type') }} - + - + {{ $t('no_options_available') }} @@ -14,10 +20,10 @@ v-else-if="Array.isArray(selectedPanel.options)" :fields="selectedPanel.options" primary-key="+" - v-model="values.options" + v-model="edits.options" /> - + @@ -25,22 +31,22 @@ {{ $t('show_header') }} - + {{ $t('name') }} - + {{ $t('icon') }} - + {{ $t('color') }} - + @@ -48,8 +54,7 @@ @@ -121,14 +138,3 @@ export default defineComponent({ margin: 48px 0; } - - diff --git a/app/src/types/insights.ts b/app/src/types/insights.ts index 0fbc0afea7..69a1506c91 100644 --- a/app/src/types/insights.ts +++ b/app/src/types/insights.ts @@ -10,6 +10,7 @@ export type Dashboard = { export type Panel = { id: string; dashboard: string; + show_header: boolean; name: string; icon: string; color: string;
{{ $t('type') }}
{{ $t('show_header') }}
{{ $t('name') }}
{{ $t('icon') }}
{{ $t('color') }}