diff --git a/src/store/modules/selectors.ts b/src/store/modules/selectors.ts index 1f3cc5b3..24d4b49b 100644 --- a/src/store/modules/selectors.ts +++ b/src/store/modules/selectors.ts @@ -48,7 +48,6 @@ export const selectorStore = defineStore({ this.currentService = service; }, setCurrentPod(pod: Nullable) { - console.log(pod); this.currentPod = pod; }, async fetchLayers(): Promise { @@ -115,6 +114,7 @@ export const selectorStore = defineStore({ }); if (!res.data.errors) { this.currentService = res.data.data.service || {}; + this.services = [res.data.data.service]; } return res.data; diff --git a/src/views/dashboard/panel/Tool.vue b/src/views/dashboard/panel/Tool.vue index 71b67e67..a725557c 100644 --- a/src/views/dashboard/panel/Tool.vue +++ b/src/views/dashboard/panel/Tool.vue @@ -14,13 +14,13 @@ See the License for the specific language governing permissions and limitations under the License. -->