diff --git a/pkg/app-launcher/components/ClusterActions.vue b/pkg/app-launcher/components/ClusterActions.vue
index 91789a6..94cd5f9 100644
--- a/pkg/app-launcher/components/ClusterActions.vue
+++ b/pkg/app-launcher/components/ClusterActions.vue
@@ -10,6 +10,10 @@ export default {
type: Boolean,
required: true,
},
+ sortOrder: {
+ type: String,
+ required: true,
+ },
selectedCluster: {
type: String,
required: true,
@@ -19,6 +23,12 @@ export default {
required: true,
},
},
+ computed: {
+ aToZorZtoA() {
+ console.log(this.$store.getters['i18n/t']('appLauncher.aToZ'));
+ return this.sortOrder === 'asc' ? this.$store.getters['i18n/t']('appLauncher.aToZ') : this.$store.getters['i18n/t']('appLauncher.zToA');
+ },
+ },
emits: ['update:search-query', 'toggle-sort', 'update:selected-cluster', 'set-view'],
};
@@ -28,9 +38,17 @@ export default {
-
+