Browse Source

fix(gui): handle meta not found error,

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/679/head
Pranav C 3 years ago
parent
commit
b3a799f2de
  1. 2
      packages/nc-gui/components/project/spreadsheet/public/xcForm.vue
  2. 2
      packages/nc-gui/components/project/spreadsheet/public/xcTable.vue

2
packages/nc-gui/components/project/spreadsheet/public/xcForm.vue

@ -344,7 +344,7 @@ export default {
this.localParams = (this.query_params.extraViewParams && this.query_params.extraViewParams.formParams) || {}
} catch (e) {
if (e.message === 'Not found') {
if (e.message === 'Not found' || e.message === 'Meta not found') {
this.notFound = true
} else if (e.message === 'Invalid password') {
this.showPasswordModal = true

2
packages/nc-gui/components/project/spreadsheet/public/xcTable.vue

@ -564,7 +564,7 @@ export default {
})
}
} catch (e) {
if (e.message === 'Not found') {
if (e.message === 'Not found' || e.message === 'Meta not found') {
this.notFound = true
} else if (e.message === 'Invalid password') {
this.showPasswordModal = true

Loading…
Cancel
Save