Update PinDMs.plugin.js

This commit is contained in:
Mirco Wittrien 2020-05-19 17:30:08 +02:00
parent eb1c01054a
commit 1a5bd4660d
1 changed files with 2 additions and 2 deletions

View File

@ -239,7 +239,7 @@ var PinDMs = (_ => {
children: currentCategory ? BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.MenuItems.MenuItem, {
label: this.labels.context_unpinchannel_text,
id: BDFDB.ContextMenuUtils.createItemId(this.name, "unpin-channellist"),
danger: true,
color: BDFDB.LibraryComponents.MenuItems.Colors.DANGER,
action: _ => {
BDFDB.ContextMenuUtils.close(instance);
this.removeFromCategory(id, currentCategory, "dmCategories");
@ -247,7 +247,7 @@ var PinDMs = (_ => {
}) : BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.MenuItems.MenuItem, {
label: this.labels.context_addtonewcategory_text,
id: BDFDB.ContextMenuUtils.createItemId(this.name, "new-channellist"),
brand: true,
color: BDFDB.LibraryComponents.MenuItems.Colors.BRAND,
action: _ => {
BDFDB.ContextMenuUtils.close(instance);
this.openCategorySettingsModal({