mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-05-15 05:30:24 +00:00
Moved the permissions and roles store to the groups store
This commit is contained in:
parent
4b36246cef
commit
ef78dbc587
78 changed files with 1068 additions and 390 deletions
web-frontend/modules/database/components/view/grid/fields
|
@ -42,6 +42,7 @@
|
|||
</a>
|
||||
</div>
|
||||
<SelectRowModal
|
||||
v-if="!readOnly"
|
||||
ref="selectModal"
|
||||
:table-id="field.link_row_table_id"
|
||||
:value="value"
|
||||
|
@ -49,6 +50,7 @@
|
|||
@hidden="hideModal"
|
||||
></SelectRowModal>
|
||||
<ForeignRowEditModal
|
||||
v-if="!readOnly"
|
||||
ref="rowEditModal"
|
||||
:table-id="field.link_row_table_id"
|
||||
@hidden="hideModal"
|
||||
|
@ -80,8 +82,7 @@ export default {
|
|||
this.$options.computed = {
|
||||
...(this.$options.computed || {}),
|
||||
...mapGetters({
|
||||
publicGrid:
|
||||
this.$options.propsData.storePrefix + 'view/public/getIsPublic',
|
||||
publicGrid: 'page/view/public/getIsPublic',
|
||||
}),
|
||||
}
|
||||
},
|
||||
|
@ -106,6 +107,10 @@ export default {
|
|||
* inside one of these contexts.
|
||||
*/
|
||||
canUnselectByClickingOutside(event) {
|
||||
if (this.readOnly) {
|
||||
return true
|
||||
}
|
||||
|
||||
const openModals = [
|
||||
...this.$refs.selectModal.$refs.modal.moveToBody.children.map(
|
||||
(child) => child.$el
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue