This commit is contained in:
Simon Larsen 2023-04-04 18:57:38 +01:00
parent 8586c9b41a
commit 26f08e3109
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
3 changed files with 4 additions and 5 deletions

View File

@ -173,7 +173,6 @@ export default class ServiceHandler {
}
);
pageData.deleteRequest = await LocalCache.getOrSetString(
'model',
'delete-request',
@ -194,7 +193,6 @@ export default class ServiceHandler {
}
);
pageData.listResponse = await LocalCache.getOrSetString(
'model',
'list-response',
@ -207,8 +205,9 @@ export default class ServiceHandler {
pageData.exampleObjectID = ObjectID.generate();
pageData.apiPath = DashboardApiRoute.toString() + currentResource.model.crudApiPath?.toString();
pageData.apiPath =
DashboardApiRoute.toString() +
currentResource.model.crudApiPath?.toString();
return res.render('pages/index', {
page: page,

View File

@ -227,7 +227,7 @@
href="/docs/permissions"><span class="truncate">Permissions</span></a></li>
<li class="relative" style="transform: none; transform-origin: 50% 50% 0px;"><a
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"
href="/docs/queries"><span class="truncate">Queries</span></a></li>
href="/docs/data-types"><span class="truncate">Data Types</span></a></li>
<li class="relative" style="transform: none; transform-origin: 50% 50% 0px;"><a
class="flex justify-between gap-2 py-1 pr-3 text-sm transition pl-4 text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white"
href="/docs/errors"><span class="truncate">Errors</span></a></li>