From 760eb38c9c8b1e02ae6efb5ae8d1e6cfbc182ac2 Mon Sep 17 00:00:00 2001 From: Dorra Jaouad Date: Fri, 28 Aug 2026 14:07:30 +0200 Subject: [PATCH] fix(presets): apply default presets that are set by admins (occ config) Signed-off-by: Dorra Jaouad --- .../NewConversationDialog/NewConversationSetupPage.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/NewConversationDialog/NewConversationSetupPage.vue b/src/components/NewConversationDialog/NewConversationSetupPage.vue index fbc13076c84..e75998a7fa8 100644 --- a/src/components/NewConversationDialog/NewConversationSetupPage.vue +++ b/src/components/NewConversationDialog/NewConversationSetupPage.vue @@ -346,6 +346,12 @@ export default { async created() { await this.settingsStore.fetchPresets() + + // Parameters of the default preset are configurable by administrators, + // so they have to be applied to the initial state as well + if (this.preset === CONVERSATION.PRESET.DEFAULT) { + await this.applyPresetParameters(CONVERSATION.PRESET.DEFAULT) + } }, methods: {