Skip to content

Commit 37fd322

Browse files
committed
disabled tooltip
1 parent b612451 commit 37fd322

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Options.svelte

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,9 @@
328328
}}
329329
disabled={$sensorMap.get($currentSensor).official ? true : false}>
330330
7-day Trend
331+
{#if $sensorMap.get($currentSensor).official}
332+
<span class="disabled-tooltip">Currently unavailable</span>
333+
{/if}
331334
</button>
332335

333336
</div>

0 commit comments

Comments
 (0)