Provide features in dashboard to injection in components
This commit is contained in:
@@ -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({});
|
||||
|
||||
Reference in New Issue
Block a user