mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-01 04:35:46 +00:00
Fix typo
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
ca73f4e8f1
commit
8d57e0aa2e
@ -1317,7 +1317,7 @@ export async function performWorkspaceOperation (
|
|||||||
switch (event) {
|
switch (event) {
|
||||||
case 'delete':
|
case 'delete':
|
||||||
if (workspaceInfo.mode !== 'active') {
|
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'
|
update.mode = 'pending-deletion'
|
||||||
|
Loading…
Reference in New Issue
Block a user