1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-25 14:59:26 +01:00

fix: fixes colors on side menu to be less bold and updates the regex to support longer hashes. see #2144 (#2177)

This commit is contained in:
Amir Raminfar
2023-05-08 09:17:34 -07:00
committed by GitHub
parent 6f1b3a1dd1
commit 18c57066c7
2 changed files with 2 additions and 2 deletions

View File

@@ -65,7 +65,7 @@
>
<div class="container is-flex is-align-items-center">
<div class="is-flex-grow-1 is-ellipsis">
<span class="has-text-weight-semibold">{{ item.name }}</span
<span>{{ item.name }}</span
><span class="has-text-weight-light has-light-opacity" v-if="item.isSwarm">.{{ item.swarmId }}</span>
</div>
<div class="is-flex-shrink-1 is-flex icons">

View File

@@ -4,7 +4,7 @@ import { Ref } from "vue";
type Stat = Omit<ContainerStat, "id">;
const SWARM_ID_REGEX = /\.([a-z0-9]{25})$/i;
const SWARM_ID_REGEX = /(\.[a-z0-9]{25})+$/i;
export class Container {
public stat: Ref<Stat>;