remove user added group name from group area controls

This commit is contained in:
zombieFox 2021-09-15 08:54:36 +01:00
parent a6f088c2c7
commit 6f0f07937d

View File

@ -170,9 +170,9 @@ export const GroupArea = function({
this.openAll = { this.openAll = {
button: new Button({ button: new Button({
text: 'Open all Bookmarks in ' + (isValidString(groupData.group.name.text) ? groupData.group.name.text : 'this Group'), text: 'Open all Bookmarks in this Group',
style: ['line'], style: ['line'],
title: 'Open all Bookmarks in ' + (isValidString(groupData.group.name.text) ? groupData.group.name.text : 'this Group'), title: 'Open all Bookmarks in this Group',
srOnly: true, srOnly: true,
iconName: 'openAll', iconName: 'openAll',
classList: ['group-toolbar-button', 'group-toolbar-open-all'], classList: ['group-toolbar-button', 'group-toolbar-open-all'],
@ -209,9 +209,9 @@ export const GroupArea = function({
this.collapse = { this.collapse = {
button: new Button({ button: new Button({
text: 'Collapse ' + (isValidString(groupData.group.name.text) ? groupData.group.name.text : 'this Group'), text: 'Collapse this Group',
style: ['line'], style: ['line'],
title: 'Collapse ' + (isValidString(groupData.group.name.text) ? groupData.group.name.text : 'this Group'), title: 'Collapse this Group',
srOnly: true, srOnly: true,
iconName: 'arrowKeyboardUp', iconName: 'arrowKeyboardUp',
classList: ['group-toolbar-button', 'group-toolbar-collapse'], classList: ['group-toolbar-button', 'group-toolbar-collapse'],