separation support
This commit is contained in:
parent
5e21134d9b
commit
e554eeeef6
30 changed files with 92 additions and 102 deletions
|
|
@ -160,7 +160,10 @@ export const BUTTONS = [
|
|||
icon: 'history',
|
||||
label: 'status.status_history',
|
||||
if({ status, state }) {
|
||||
return useInstanceStore().editingAvailable && status.edited_at !== null
|
||||
return (
|
||||
useInstanceStore().featureSet.editingAvailable &&
|
||||
status.edited_at !== null
|
||||
)
|
||||
},
|
||||
action({ status }) {
|
||||
const originalStatus = { ...status }
|
||||
|
|
@ -190,7 +193,7 @@ export const BUTTONS = [
|
|||
if({ status, loggedIn, currentUser, state }) {
|
||||
return (
|
||||
loggedIn &&
|
||||
useInstanceStore().editingAvailable &&
|
||||
useInstanceStore().featureSet.editingAvailable &&
|
||||
status.user.id === currentUser.id
|
||||
)
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue