Improve dhcp server table

This commit is contained in:
Samuel Lorch 2024-07-30 23:46:08 +02:00
parent f8752f99af
commit 0c27dffef9

View file

@ -1,6 +1,7 @@
<script setup lang="ts">
import { apiCall } from '../../api';
import getPlugins from '../../plugins';
import ArrayDisplay from '~/components/display/ArrayDisplay.vue';
const p = getPlugins();
let servers = $ref([]);
@ -9,6 +10,7 @@ let selection = $ref([] as number[]);
const columns = [
{ heading: 'Interface', path: 'interface' },
{ heading: 'Pool', path: 'pool', component: markRaw(ArrayDisplay), componentProp: 'data' },
{ heading: 'Comment', path: 'comment' },
];
@ -48,4 +50,4 @@ onMounted(async() => {
<button :disabled="selection.length != 1" @click="deleteRule">Delete</button>
</TableView>
</div>
</template>
</template>