Display only if not selected
This commit is contained in:
parent
d4726b12c3
commit
2f13fd35a3
|
@ -65,7 +65,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<DetailPopover bind:this={popover} {title} align={PopoverAlignment.Right}>
|
<DetailPopover bind:this={popover} {title} align={PopoverAlignment.Right}>
|
||||||
<div slot="anchor" class="anchor">
|
<div slot="anchor" class:display-new={!authConfig}>
|
||||||
<ActionButton icon="LockClosed" quiet selected>
|
<ActionButton icon="LockClosed" quiet selected>
|
||||||
{#if !authConfig}
|
{#if !authConfig}
|
||||||
Authentication
|
Authentication
|
||||||
|
@ -124,7 +124,7 @@
|
||||||
</DetailPopover>
|
</DetailPopover>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.anchor :global(.spectrum-ActionButton)::before {
|
.display-new :global(.spectrum-ActionButton)::before {
|
||||||
content: "NEW";
|
content: "NEW";
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
background: var(--bb-indigo);
|
background: var(--bb-indigo);
|
||||||
|
|
Loading…
Reference in New Issue