Minor fix for application lock button labelling
This commit is contained in:
parent
5ec1d22237
commit
7f4730ef3c
|
@ -20,11 +20,11 @@
|
||||||
|
|
||||||
$: lockedBy = app?.lockedBy
|
$: lockedBy = app?.lockedBy
|
||||||
$: lockedByYou = $auth.user.email === lockedBy?.email
|
$: lockedByYou = $auth.user.email === lockedBy?.email
|
||||||
|
|
||||||
$: lockIdentifer = `${
|
$: lockIdentifer = `${
|
||||||
lockedBy && Object.prototype.hasOwnProperty.call(lockedBy, "firstName")
|
lockedBy && lockedBy.firstName ? lockedBy?.firstName : lockedBy?.email
|
||||||
? lockedBy?.firstName
|
|
||||||
: lockedBy?.email
|
|
||||||
}`
|
}`
|
||||||
|
|
||||||
$: lockedByHeading =
|
$: lockedByHeading =
|
||||||
lockedBy && lockedByYou ? "Locked by you" : `Locked by ${lockIdentifer}`
|
lockedBy && lockedByYou ? "Locked by you" : `Locked by ${lockIdentifer}`
|
||||||
|
|
||||||
|
@ -141,9 +141,6 @@
|
||||||
.lock-status {
|
.lock-status {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: var(--spacing-s);
|
gap: var(--spacing-s);
|
||||||
|
max-width: 175px;
|
||||||
}
|
}
|
||||||
/* .lock-status :global(.spectrum-Button-label) {
|
|
||||||
font-weight: 200;
|
|
||||||
font-family: var(--font-sans);
|
|
||||||
} */
|
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue