Browse Source

UI: Fixed context menu for edit note

pull/15121/head
Vladyslav_Prykhodko 6 months ago
parent
commit
8b2f651644
  1. 4
      ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.ts

4
ui-ngx/src/app/modules/home/pages/rulechain/rulechain-page.component.ts

@ -1363,8 +1363,8 @@ export class RuleChainPageComponent extends PageComponent
const contextInfo: RuleChainMenuContextInfo = { const contextInfo: RuleChainMenuContextInfo = {
headerClass: 'tb-rulechain-header', headerClass: 'tb-rulechain-header',
icon: 'sticky_note_2', icon: 'sticky_note_2',
title: note.content || '', title: this.translate.instant('rulechain.note'),
subtitle: this.translate.instant('rulechain.note'), subtitle: note.content.length > 24 ? note.content.substring(0, 24) + '…' : note.content,
menuItems: [] menuItems: []
}; };
if (!note.readonly) { if (!note.readonly) {

Loading…
Cancel
Save