diff --git a/assets/components/SideMenu.vue b/assets/components/SideMenu.vue index f4cbe098..97492431 100644 --- a/assets/components/SideMenu.vue +++ b/assets/components/SideMenu.vue @@ -65,7 +65,7 @@ >
- {{ item.name }}{{ item.name }}.{{ item.swarmId }}
diff --git a/assets/models/Container.ts b/assets/models/Container.ts index 244e3d01..81de2de7 100644 --- a/assets/models/Container.ts +++ b/assets/models/Container.ts @@ -4,7 +4,7 @@ import { Ref } from "vue"; type Stat = Omit; -const SWARM_ID_REGEX = /\.([a-z0-9]{25})$/i; +const SWARM_ID_REGEX = /(\.[a-z0-9]{25})+$/i; export class Container { public stat: Ref;