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:
@@ -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">
|
||||
|
||||
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user