- {{ service ? service?.metadata?.name : ingress?.metadata?.name }} + {{ app.metadata?.name }}
+
{{ kubernetesVersion }}
-+
{{ helmChart }}
-+
Ingress
{{ namespace }}/{{ name }}
-{{ ingressPath }}
++ {{ (isGlobalApp || isFavorited) && isInGlobalView ? `${app.clusterName}/` : '' }}{{ namespace }}/{{ name }} +
++ {{ (isGlobalApp || isFavorited) && isInGlobalView ? `${app.clusterName}: ` : '' }}{{ ingressPath }} +
+export default { + name: 'ClusterActions', + props: { + searchQuery: { + type: String, + required: true, + }, + isGridView: { + type: Boolean, + required: true, + }, + sortOrder: { + type: String, + required: true, + }, + selectedCluster: { + type: String, + required: true, + }, + clusterOptions: { + type: Array, + 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'], +}; + + + +