UBERF-6180: Fix account issues (#5063)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2024-03-26 20:07:58 +05:00
committed by GitHub
parent 352e8a4f3f
commit 5716c053fd
17 changed files with 504 additions and 173 deletions
@@ -619,7 +619,7 @@
$: modern = currentApplication?.modern ?? false
</script>
{#if employee && !employee.active}
{#if employee && !employee.active && !isAdminUser()}
<div class="flex-col-center justify-center h-full flex-grow">
<h1><Label label={workbench.string.AccountDisabled} /></h1>
<Label label={workbench.string.AccountDisabledDescr} />