diff --git a/src/store/modules/selectors.ts b/src/store/modules/selectors.ts index 7c8b7b47..c66e3813 100644 --- a/src/store/modules/selectors.ts +++ b/src/store/modules/selectors.ts @@ -28,6 +28,7 @@ interface SelectorState { endpoints: Option[]; currentService: string; currentPod: string; + currentDestService: string; durationTime: any; } @@ -40,6 +41,7 @@ export const selectorStore = defineStore({ endpoints: [], currentService: "", currentPod: "", + currentDestService: "", durationTime: useAppStoreWithOut().durationTime, }), actions: { diff --git a/src/views/dashboard/panel/Tool.vue b/src/views/dashboard/panel/Tool.vue index 9c5ff20b..14b04270 100644 --- a/src/views/dashboard/panel/Tool.vue +++ b/src/views/dashboard/panel/Tool.vue @@ -28,9 +28,11 @@ limitations under the License. --> />
- $ServiceInstance + + {{ states.entity === "endpoint" ? "$Endpoint" : "$ServiceInstance" }} +
$DestinationService