mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-10 18:38:22 +00:00
Improve dhcp server table
This commit is contained in:
parent
f8752f99af
commit
0c27dffef9
1 changed files with 3 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue