diff --git a/src/modules/[chain]/block/index.vue b/src/modules/[chain]/block/index.vue
index a3dc369b..78c0f946 100644
--- a/src/modules/[chain]/block/index.vue
+++ b/src/modules/[chain]/block/index.vue
@@ -97,7 +97,8 @@ const format = useFormatter();
{
meta: {
- i18n: 'blocks'
+ i18n: 'blocks',
+ order: 5
}
}
diff --git a/src/modules/[chain]/gov/index.vue b/src/modules/[chain]/gov/index.vue
index b10c3372..aea5d2ef 100644
--- a/src/modules/[chain]/gov/index.vue
+++ b/src/modules/[chain]/gov/index.vue
@@ -47,7 +47,8 @@ const changeTab = (val: '2' | '3' | '4') => {
{
meta: {
- i18n: 'governance'
+ i18n: 'governance',
+ order: 2
}
}
diff --git a/src/modules/[chain]/ibc/index.vue b/src/modules/[chain]/ibc/index.vue
index b403962f..aac5745c 100644
--- a/src/modules/[chain]/ibc/index.vue
+++ b/src/modules/[chain]/ibc/index.vue
@@ -70,7 +70,8 @@ function color(v: string) {
{
meta: {
- i18n: 'ibc'
+ i18n: 'ibc',
+ order: 8
}
}
diff --git a/src/modules/[chain]/index.vue b/src/modules/[chain]/index.vue
index f3afbd37..730f1ac0 100644
--- a/src/modules/[chain]/index.vue
+++ b/src/modules/[chain]/index.vue
@@ -267,7 +267,8 @@ const color= computed(() => {
{
meta: {
- i18n: 'dashboard'
+ i18n: 'dashboard',
+ order: 1,
}
}
diff --git a/src/modules/[chain]/params/index.vue b/src/modules/[chain]/params/index.vue
index 80276c84..699074ad 100644
--- a/src/modules/[chain]/params/index.vue
+++ b/src/modules/[chain]/params/index.vue
@@ -55,7 +55,8 @@ onMounted(() => {
{
meta: {
- i18n: 'parameters'
+ i18n: 'parameters',
+ order: 10
}
}
diff --git a/src/modules/[chain]/staking/index.vue b/src/modules/[chain]/staking/index.vue
index e782db81..a6938922 100644
--- a/src/modules/[chain]/staking/index.vue
+++ b/src/modules/[chain]/staking/index.vue
@@ -276,7 +276,8 @@ const rank = function (position: number) {
{
meta: {
- i18n: 'staking'
+ i18n: 'staking',
+ order: 3
}
}
diff --git a/src/modules/[chain]/uptime/index.vue b/src/modules/[chain]/uptime/index.vue
index ba164c0d..da9661f2 100644
--- a/src/modules/[chain]/uptime/index.vue
+++ b/src/modules/[chain]/uptime/index.vue
@@ -162,7 +162,8 @@ watchEffect(() => {
{
meta: {
- i18n: 'uptime'
+ i18n: 'uptime',
+ order: 8
}
}
diff --git a/src/stores/useBlockchain.ts b/src/stores/useBlockchain.ts
index b035d296..84f4bca0 100644
--- a/src/stores/useBlockchain.ts
+++ b/src/stores/useBlockchain.ts
@@ -68,8 +68,9 @@ export const useBlockchain = defineStore('blockchain', {
to: { path: x.path.replace(':chain', this.chainName) },
icon: { icon: 'mdi-chevron-right', size: '22' },
i18n: true,
+ order: Number(x.meta.order || 100)
}))
- .sort((a, b) => a.to.path.length - b.to.path.length),
+ .sort((a, b) => a.order - b.order),
},
];
}