chore: file collection unavailable action (#5604)

This commit is contained in:
ChengLei Shao 2024-11-06 20:32:44 +08:00 committed by GitHub
parent a6ac4a6384
commit 0082fb7dec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -836,10 +836,6 @@ export class Collection<
}
unavailableActions() {
if (this.options.template === 'file') {
return ['create', 'update', 'destroy'];
}
return [];
}