refactor: Cleanup
This commit is contained in:
parent
fb5445e9ce
commit
39fb1c2b17
|
|
@ -44,7 +44,7 @@
|
||||||
</Tooltip.Trigger>
|
</Tooltip.Trigger>
|
||||||
|
|
||||||
<Tooltip.Content>
|
<Tooltip.Content>
|
||||||
{onclick ? 'Click for model details' : 'Model name'}
|
{onclick ? 'Click for model details' : model}
|
||||||
</Tooltip.Content>
|
</Tooltip.Content>
|
||||||
</Tooltip.Root>
|
</Tooltip.Root>
|
||||||
{:else}
|
{:else}
|
||||||
|
|
|
||||||
|
|
@ -267,6 +267,7 @@
|
||||||
if (activeId) {
|
if (activeId) {
|
||||||
return options.find((option) => option.id === activeId);
|
return options.find((option) => option.id === activeId);
|
||||||
}
|
}
|
||||||
|
|
||||||
return options[0];
|
return options[0];
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue