mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-28 12:35:02 +02:00
qfix: do not allow to disable contacts plugin (#10025)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
@@ -34,9 +34,7 @@ export async function changeConfiguration (
|
||||
const config = await connection.findAll(core.class.PluginConfiguration, {})
|
||||
if (cmd.list === true) {
|
||||
for (const c of config) {
|
||||
if (c.label !== undefined) {
|
||||
console.log(toLen(c.pluginId, '-', 20), c.enabled)
|
||||
}
|
||||
console.log(toLen(c.pluginId, '-', 20), c.enabled, c.hidden === true ? '(hidden)' : '')
|
||||
}
|
||||
}
|
||||
const enable = (cmd.enable ?? '').trim().split(',')
|
||||
|
||||
Reference in New Issue
Block a user