Browse Source

Merge pull request #1164 from nocodb/fix/missing-add-row-option

fix: missing add row option
pull/1165/head
աɨռɢӄաօռɢ 3 years ago committed by GitHub
parent
commit
8847ce43fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nc-gui/components/project/spreadsheet/components/expandedForm.vue
  2. 2
      packages/nc-gui/components/project/spreadsheet/views/xcGridView.vue

2
packages/nc-gui/components/project/spreadsheet/components/expandedForm.vue

@ -437,7 +437,7 @@ export default {
this.$emit('input', this.localState)
this.$emit('update:isNew', false)
this.$toast.success(`${this.primaryValue()} updated successfully.`, {
this.$toast.success(`${this.primaryValue() || "Row"} updated successfully.`, {
position: 'bottom-right'
}).goAway(3000)
} catch (e) {

2
packages/nc-gui/components/project/spreadsheet/views/xcGridView.vue

@ -237,7 +237,7 @@
/>
</td>
</tr>
<tr v-if="isPkAvail && !isLocked && !isPublicView && isEditable && relationType !== 'bt'">
<tr v-if="!isLocked && !isPublicView && isEditable && relationType !== 'bt'">
<td :colspan="visibleColLength + 1" class="text-left pointer nc-grid-add-new-cell" @click="insertNewRow(true)">
<v-tooltip top>
<template #activator="{on}">

Loading…
Cancel
Save