mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 13:23:07 +01:00
@@ -4,7 +4,7 @@
|
||||
<container-health :health="container.health"></container-health>
|
||||
</div>
|
||||
<div class="column is-ellipsis">
|
||||
{{ container.name }}<span v-if="container.isSwarm">.{{ container.swarmId }}</span>
|
||||
{{ container.name }}<span v-if="container.isSwarm">{{ container.swarmId }}</span>
|
||||
<span class="tag is-dark">{{ container.image.replace(/@sha.*/, "") }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
<div class="container is-flex is-align-items-center">
|
||||
<div class="is-flex-grow-1 is-ellipsis">
|
||||
<span>{{ item.name }}</span
|
||||
><span class="has-text-weight-light has-light-opacity" v-if="item.isSwarm">.{{ item.swarmId }}</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">
|
||||
<div
|
||||
|
||||
@@ -29,7 +29,7 @@ export class Container {
|
||||
|
||||
if (match) {
|
||||
this.swarmId = match[1];
|
||||
this.name = name.replace(`.${this.swarmId}`, "");
|
||||
this.name = name.replace(`${this.swarmId}`, "");
|
||||
this.isSwarm = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user