ui: Make import_zone page a zone page to be able to delete it easily
This commit is contained in:
parent
865bd44332
commit
563735388a
1 changed files with 10 additions and 0 deletions
10
ui/src/routes/domains/[dn]/import_zone/+page.ts
Normal file
10
ui/src/routes/domains/[dn]/import_zone/+page.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
import type { Load } from '@sveltejs/kit';
|
||||
|
||||
export const load: Load = async({ parent }) => {
|
||||
const data = await parent();
|
||||
|
||||
return {
|
||||
...data,
|
||||
isZonePage: true,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue