mirror of
https://github.com/rajnandan1/kener.git
synced 2026-05-03 17:10:27 -05:00
refactor: remove commented code and clean up dropdown labels in homePage and monitor components
This commit is contained in:
@@ -138,7 +138,6 @@
|
||||
let resp = await storeSiteData({
|
||||
hero: JSON.stringify(hero)
|
||||
});
|
||||
//print data
|
||||
let data = await resp.json();
|
||||
formStateHero = "idle";
|
||||
if (data.error) {
|
||||
@@ -467,7 +466,6 @@
|
||||
</Select.Root>
|
||||
</div>
|
||||
<div class="border-b pb-4">
|
||||
<!-- use checkboxes selectableDaysList -->
|
||||
<Label for="desktopdropdown" class="text-sm font-medium">Select Dropdown Range</Label>
|
||||
<div class="mt-2 flex flex-row flex-wrap gap-x-2">
|
||||
{#each selectableDaysList as day}
|
||||
@@ -536,7 +534,6 @@
|
||||
</Select.Root>
|
||||
</div>
|
||||
<div class="border-b pb-4">
|
||||
<!-- use checkboxes selectableDaysList -->
|
||||
<Label for="mobiledropdown" class="text-sm font-medium">Select Dropdown Range</Label>
|
||||
<div class="mt-2 flex flex-row flex-wrap gap-x-2">
|
||||
{#each selectableDaysList as day}
|
||||
|
||||
@@ -321,12 +321,12 @@
|
||||
dailyDataGetter(e, bar, incidents[ts]);
|
||||
}}
|
||||
href="#"
|
||||
class="oneline h-[34px] w-[6px]
|
||||
class="oneline h-[34px]
|
||||
{bar.border ? 'opacity-100' : 'opacity-20'} pb-1"
|
||||
style="width: {dimension.x1}px"
|
||||
>
|
||||
<div
|
||||
class="oneline-in h-[30px] bg-{bar.cssClass} mx-auto w-[4px] rounded-{monitor.pageData.barRoundness.toUpperCase() ==
|
||||
class="oneline-in h-[30px] bg-{bar.cssClass} mx-auto rounded-{monitor.pageData.barRoundness.toUpperCase() ==
|
||||
'SHARP'
|
||||
? 'none'
|
||||
: 'sm'}"
|
||||
|
||||
Reference in New Issue
Block a user