mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-22 01:25:00 +02:00
EZQMS-1392: Obsolete documents (#7833)
Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com>
This commit is contained in:
+4
-1
@@ -38,6 +38,9 @@
|
||||
case DocumentState.Archived:
|
||||
statusWMLabel = plugin.string.Archived
|
||||
break
|
||||
case DocumentState.Obsolete:
|
||||
statusWMLabel = plugin.string.Obsolete
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,7 +54,7 @@
|
||||
$controlledDocument != null &&
|
||||
(isOrgSpace
|
||||
? $controlledDocument.state !== DocumentState.Effective
|
||||
: ![DocumentState.Effective, DocumentState.Archived].includes($controlledDocument.state))
|
||||
: ![DocumentState.Effective, DocumentState.Obsolete, DocumentState.Archived].includes($controlledDocument.state))
|
||||
</script>
|
||||
|
||||
{#if $controlledDocument !== null}
|
||||
|
||||
Reference in New Issue
Block a user