mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +08:00
chore: file collection unavailable action (#5604)
This commit is contained in:
parent
a6ac4a6384
commit
0082fb7dec
@ -836,10 +836,6 @@ export class Collection<
|
|||||||
}
|
}
|
||||||
|
|
||||||
unavailableActions() {
|
unavailableActions() {
|
||||||
if (this.options.template === 'file') {
|
|
||||||
return ['create', 'update', 'destroy'];
|
|
||||||
}
|
|
||||||
|
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user