From 8b2f651644aece764af48419cb34bbc644c82134 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Fri, 27 Feb 2026 18:53:57 +0200 Subject: [PATCH] UI: Fixed context menu for edit note --- .../modules/home/pages/rulechain/rulechain-page.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.ts b/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.ts index 8391c874c8..f76fe391ee 100644 --- a/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.ts +++ b/ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.ts @@ -1363,8 +1363,8 @@ export class RuleChainPageComponent extends PageComponent const contextInfo: RuleChainMenuContextInfo = { headerClass: 'tb-rulechain-header', icon: 'sticky_note_2', - title: note.content || '', - subtitle: this.translate.instant('rulechain.note'), + title: this.translate.instant('rulechain.note'), + subtitle: note.content.length > 24 ? note.content.substring(0, 24) + '…' : note.content, menuItems: [] }; if (!note.readonly) {