mirror of
https://github.com/speatzle/nfsense.git
synced 2025-05-11 02:48:21 +00:00
Remove Unused code
This commit is contained in:
parent
ec0067d27f
commit
6444636abd
1 changed files with 1 additions and 3 deletions
|
@ -7,8 +7,6 @@ const p = getPlugins();
|
||||||
const props = $defineProps<{subsystem: string, entity: string}>();
|
const props = $defineProps<{subsystem: string, entity: string}>();
|
||||||
const { subsystem, entity } = $(props);
|
const { subsystem, entity } = $(props);
|
||||||
|
|
||||||
let data = $ref({});
|
|
||||||
|
|
||||||
async function create(value: any) {
|
async function create(value: any) {
|
||||||
console.debug("value", value);
|
console.debug("value", value);
|
||||||
let res = await apiCall(editTypes[subsystem].name +".Create"+ editTypes[subsystem][entity].name, value);
|
let res = await apiCall(editTypes[subsystem].name +".Create"+ editTypes[subsystem][entity].name, value);
|
||||||
|
@ -25,7 +23,7 @@ async function create(value: any) {
|
||||||
<div v-if="editTypes[subsystem][entity]">
|
<div v-if="editTypes[subsystem][entity]">
|
||||||
<PageHeader :title="'Create ' + editTypes[subsystem][entity].name">
|
<PageHeader :title="'Create ' + editTypes[subsystem][entity].name">
|
||||||
</PageHeader>
|
</PageHeader>
|
||||||
<NiceForm class="scroll cl-secondary" :submit="create" :discard="() => $router.go(-1)" :sections="editTypes[subsystem][entity].sections" v-model="data"/>
|
<NiceForm class="scroll cl-secondary" :submit="create" :discard="() => $router.go(-1)" :sections="editTypes[subsystem][entity].sections"/>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<PageHeader title="Error"/>
|
<PageHeader title="Error"/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue