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
-4
View File
@@ -836,10 +836,6 @@ export class Collection<
}
unavailableActions() {
if (this.options.template === 'file') {
return ['create', 'update', 'destroy'];
}
return [];
}