Browse Source

fix(nc-gui): create new component for page does not exist

nc-feat/custom-url-support-for-shared-base-view
Ramesh Mane 14 hours ago
parent
commit
b07d7bbb27
  1. 17
      packages/nc-gui/components/general/PageDoesNotExist.vue
  2. 2
      packages/nc-gui/lang/en.json

17
packages/nc-gui/components/general/PageDoesNotExist.vue

@ -0,0 +1,17 @@
<template>
<div class="h-full grid place-items-center text-center">
<div class="flex flex-col items-center gap-6">
<slot name="icon">
<img width="48" alt="NocoDB" src="~/assets/img/icons/256x256.png" />
</slot>
<div class="text-xl text-nc-content-gray font-bold">
<slot name="title">
{{ $t('title.thisPageDoesNotExist') }}
</slot>
</div>
</div>
</div>
</template>
<style lang="scss" scoped></style>

2
packages/nc-gui/lang/en.json

@ -647,7 +647,7 @@
"unlockThisVieToMakeChanges": "Unlock this view to make changes",
"yourBaseRole": "Your base role",
"lockedByUser": "Locked by {user}",
"thisPageDoesNotExists": "This page doesn’t exist",
"thisPageDoesNotExist": "This page doesn’t exist",
"customUrl": "Custom URL"
},
"labels": {

Loading…
Cancel
Save