mirror of
https://github.com/speatzle/nfsense.git
synced 2025-09-13 15:19:08 +00:00
run eslint --fix
This commit is contained in:
parent
abb9f24e58
commit
e9b6963b4a
21 changed files with 253 additions and 251 deletions
|
@ -8,10 +8,10 @@ let loading = $ref(false);
|
|||
let selection = $ref([] as number[]);
|
||||
|
||||
const columns = [
|
||||
{heading: 'Name', path: 'name'},
|
||||
{heading: 'Type', path: 'type'},
|
||||
{heading: 'Value', path: 'value'},
|
||||
{heading: 'Comment', path: 'comment'},
|
||||
{ heading: 'Name', path: 'name' },
|
||||
{ heading: 'Type', path: 'type' },
|
||||
{ heading: 'Value', path: 'value' },
|
||||
{ heading: 'Comment', path: 'comment' },
|
||||
];
|
||||
|
||||
const displayData = $computed(() => {
|
||||
|
@ -65,7 +65,7 @@ async function load(){
|
|||
}
|
||||
|
||||
async function deleteService(){
|
||||
let res = await apiCall('object.services.delete', {name: displayData[selection[0]].name});
|
||||
let res = await apiCall('object.services.delete', { name: displayData[selection[0]].name });
|
||||
if (res.Error === null) {
|
||||
console.debug('deleted service');
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue