mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 17:05:10 +00:00
endpoint btn not showing
This commit is contained in:
parent
59a9bc15ea
commit
4645d000d4
@ -79,7 +79,7 @@ limitations under the License. -->
|
||||
class="mr-5 flex-h items-center"
|
||||
v-if="
|
||||
dashboardStore.entity !== EntityType[2].value &&
|
||||
currentSearchTerm === 'endpoint'
|
||||
currentSearchTerm === 'endpoints'
|
||||
"
|
||||
>
|
||||
<span class="grey mr-5"
|
||||
|
@ -61,7 +61,7 @@ limitations under the License. -->
|
||||
@change="changeField('instance', $event)"
|
||||
/>
|
||||
</div>
|
||||
<div class="filter" v-if="dashboardStore.entity !== EntityType[2].value">
|
||||
<div class="filter" v-if="dashboardStore.entity !== EntityType[2].value && activeFilter === 'endpoints'">
|
||||
<span class="grey mr-5">{{ t("endpoint") }}:</span>
|
||||
<Selector
|
||||
size="small"
|
||||
@ -178,6 +178,11 @@ const arrayOfFilters = ref<filtersObject[]>([
|
||||
iconName: "epic",
|
||||
description: "Tags",
|
||||
},
|
||||
{
|
||||
name: "endpoints",
|
||||
iconName: "device_hub",
|
||||
description: "Endpoints",
|
||||
},
|
||||
]);
|
||||
const activeFilter = ref<string>("");
|
||||
const queriedFilter = computed(() => traceStore.activeFilter);
|
||||
@ -254,7 +259,7 @@ function cancelSearch() {
|
||||
case "instance":
|
||||
state.instance.value = "0";
|
||||
break;
|
||||
case "endpont":
|
||||
case "endpoints":
|
||||
state.endpoint.value = "0";
|
||||
break;
|
||||
case "service":
|
||||
@ -300,6 +305,9 @@ function handleActiveFilterState() {
|
||||
case "status":
|
||||
traceStore.setActiveFilter(activeFilter.value);
|
||||
break;
|
||||
case "endpoints":
|
||||
traceStore.setActiveFilter(activeFilter.value);
|
||||
break;
|
||||
}
|
||||
}
|
||||
function searchTraces() {
|
||||
|
Loading…
Reference in New Issue
Block a user