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