From 5fc51de7d843a7fe507818a0c8a9ff02122f6c36 Mon Sep 17 00:00:00 2001 From: "D. Berge" Date: Sun, 10 Sep 2023 12:01:59 +0200 Subject: [PATCH] Adapt Log view to new configuration endpoint in the API --- lib/www/client/source/src/views/Log.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/www/client/source/src/views/Log.vue b/lib/www/client/source/src/views/Log.vue index 902323e..1e94849 100644 --- a/lib/www/client/source/src/views/Log.vue +++ b/lib/www/client/source/src/views/Log.vue @@ -611,9 +611,9 @@ export default { }, async getPresetRemarks () { - const url = `/project/${this.$route.params.project}/configuration/events/presetRemarks`; + const url = `/project/${this.$route.params.project}/configuration`; - this.presetRemarks = await this.api([url]); + this.presetRemarks = (await this.api([url]))?.events?.presetRemarks ?? {}; }, newItem (from = {}) {