feat: bases colors for containers off id instead of name (#4496)

This commit is contained in:
Amir Raminfar
2026-03-01 14:58:22 -08:00
committed by GitHub
parent 66126a1d79
commit c7e5615264
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -9,9 +9,11 @@
<RandomColorTag
v-if="showContainerName"
class="w-30 shrink-0 select-none group-[.compact]:flex-1 md:w-40"
:value="container.name"
:value="container.id"
truncateRight
/>
>
{{ container.name }}
</RandomColorTag>
<LogDate
v-if="showTimestamp"
:date="logEntry.date"
@@ -2,7 +2,7 @@
<div class="tag grid overflow-hidden rounded-sm text-center text-sm text-white">
<div class="random-color col-start-1 row-start-1 brightness-75"></div>
<div class="col-start-1 row-start-1 truncate px-2 brightness-100" :class="truncateRight ? '[direction:rtl]' : ''">
{{ value }}
<slot>{{ value }}</slot>
</div>
</div>
</template>