Provide features in dashboard to injection in components

This commit is contained in:
Johannes Zellner
2025-05-06 18:50:13 +02:00
parent 21d7dd873e
commit 91ba2a9282
2 changed files with 5 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<script setup>
import { ref, useTemplateRef, onMounted, computed } from 'vue';
import { ref, useTemplateRef, onMounted, computed, inject } from 'vue';
import { Dialog, Button, Icon, FormGroup, SingleSelect, Checkbox, TextInput, ProgressBar } from 'pankow';
import { prettyLongDate } from 'pankow/utils';
import Section from './Section.vue';
@@ -22,7 +22,7 @@ const availableProviders = [
];
const dialog = useTemplateRef('dialog');
const features = inject('features');
const taskLogsMenu = ref([]);
const tasks = ref([]);
const config = ref({});