mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-11 02:48:21 +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">
|
<script setup lang="ts">
|
||||||
import { apiCall } from '../../api';
|
import { apiCall } from '../../api';
|
||||||
import getPlugins from '../../plugins';
|
import getPlugins from '../../plugins';
|
||||||
|
import ArrayDisplay from '~/components/display/ArrayDisplay.vue';
|
||||||
const p = getPlugins();
|
const p = getPlugins();
|
||||||
|
|
||||||
let servers = $ref([]);
|
let servers = $ref([]);
|
||||||
|
@ -9,6 +10,7 @@ let selection = $ref([] as number[]);
|
||||||
|
|
||||||
const columns = [
|
const columns = [
|
||||||
{ heading: 'Interface', path: 'interface' },
|
{ heading: 'Interface', path: 'interface' },
|
||||||
|
{ heading: 'Pool', path: 'pool', component: markRaw(ArrayDisplay), componentProp: 'data' },
|
||||||
{ heading: 'Comment', path: 'comment' },
|
{ heading: 'Comment', path: 'comment' },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -48,4 +50,4 @@ onMounted(async() => {
|
||||||
<button :disabled="selection.length != 1" @click="deleteRule">Delete</button>
|
<button :disabled="selection.length != 1" @click="deleteRule">Delete</button>
|
||||||
</TableView>
|
</TableView>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Add table
Reference in a new issue