This commit is contained in:
Louis Lam
2023-12-21 20:47:47 +08:00
parent 5056df2644
commit 37f261480a
8 changed files with 57 additions and 14 deletions

View File

@@ -43,7 +43,7 @@
</div>
</div>
<div ref="stackList" class="stack-list" :class="{ scrollbar: scrollbar }" :style="stackListStyle">
<div v-if="Object.keys($root.stackList).length === 0" class="text-center mt-3">
<div v-if="Object.keys(sortedStackList).length === 0" class="text-center mt-3">
<router-link to="/compose">{{ $t("addFirstStackMsg") }}</router-link>
</div>

View File

@@ -57,7 +57,7 @@ export default {
if (this.stack.endpoint) {
return this.stack.endpoint;
} else {
return "Current";
return this.$t("currentEndpoint");
}
},
url() {