mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-23 12:52:24 +02:00
@@ -1317,7 +1317,7 @@ export async function performWorkspaceOperation (
|
||||
switch (event) {
|
||||
case 'delete':
|
||||
if (workspaceInfo.mode !== 'active') {
|
||||
throw new PlatformError(unknownError('Archive allowed only for active workspaces'))
|
||||
throw new PlatformError(unknownError('Delete allowed only for active workspaces'))
|
||||
}
|
||||
|
||||
update.mode = 'pending-deletion'
|
||||
|
||||
Reference in New Issue
Block a user