rm assigned but unused (#25639)
This commit is contained in:
parent
4906eeac18
commit
9a7245e1df
6 changed files with 2 additions and 108 deletions
|
|
@ -33,13 +33,13 @@ const Operation = ({
|
|||
const roleList = useMemo(() => {
|
||||
if (operatorRole === 'owner') {
|
||||
return [
|
||||
...['admin', 'editor', 'normal'],
|
||||
'admin', 'editor', 'normal',
|
||||
...(datasetOperatorEnabled ? ['dataset_operator'] : []),
|
||||
]
|
||||
}
|
||||
if (operatorRole === 'admin') {
|
||||
return [
|
||||
...['editor', 'normal'],
|
||||
'editor', 'normal',
|
||||
...(datasetOperatorEnabled ? ['dataset_operator'] : []),
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue