diff --git a/controllers/ctltools.js b/controllers/ctltools.js index 02cd987..3e4ad51 100644 --- a/controllers/ctltools.js +++ b/controllers/ctltools.js @@ -47,6 +47,7 @@ const transformToolInputs = (id, body) => { body.openNewTab = !!body.openNewTab; body.isHidden = !!body.isHidden; body.isDeactivated = !!body.isDeactivated; + body.isPreferred = !!body.isPreferred; body.restrictToContexts = [].concat(body.restrictToContexts || []); if (body.config.type === 'oauth2') { diff --git a/views/ctltools/forms/add-ctl-tool.hbs b/views/ctltools/forms/add-ctl-tool.hbs index 3faad3f..7400cc2 100644 --- a/views/ctltools/forms/add-ctl-tool.hbs +++ b/views/ctltools/forms/add-ctl-tool.hbs @@ -64,6 +64,17 @@ Ja, es soll deaktiviert werden +