# HG changeset patch # User Thomas Junk # Date 1547109227 -3600 # Node ID ecd4ceccfd024cd1f6e2dbac2ab2a6eb8815549d # Parent 85d0f017fbee8583b5cb343761e962e8207550f2 importschedule: insecure flag is now unmarshalled diff -r 85d0f017fbee -r ecd4ceccfd02 client/src/store/imports.js --- a/client/src/store/imports.js Wed Jan 09 21:58:35 2019 +0100 +++ b/client/src/store/imports.js Thu Jan 10 09:33:47 2019 +0100 @@ -124,7 +124,7 @@ } }, unmarshallCurrentSchedule: (state, payload) => { - const { kind, id, cron, url } = payload; + const { kind, id, cron, url, attributes } = payload; const eMailNotification = payload["send-email"]; Vue.set(state.currentSchedule, "import_", KINDIMPORTTYPE[kind]); Vue.set(state.currentSchedule, "id", id); @@ -139,6 +139,13 @@ if (url) { Vue.set(state.currentSchedule, "url", url); } + if (attributes) { + let { insecure } = attributes; + insecure = insecure == "true"; + if (insecure) { + Vue.set(state.currentSchedule, "insecure", insecure); + } + } } }, actions: {