Update OwnerTag.plugin.js
This commit is contained in:
parent
68f9d11113
commit
05c040cc5b
|
@ -2,7 +2,7 @@
|
||||||
* @name OwnerTag
|
* @name OwnerTag
|
||||||
* @author DevilBro
|
* @author DevilBro
|
||||||
* @authorId 278543574059057154
|
* @authorId 278543574059057154
|
||||||
* @version 1.3.8
|
* @version 1.3.9
|
||||||
* @description Adds a Tag/Crown to Server Owners (or Admins/Management)
|
* @description Adds a Tag/Crown to Server Owners (or Admins/Management)
|
||||||
* @invite Jx3TjNS
|
* @invite Jx3TjNS
|
||||||
* @donate https://www.paypal.me/MircoWittrien
|
* @donate https://www.paypal.me/MircoWittrien
|
||||||
|
@ -17,7 +17,7 @@ module.exports = (_ => {
|
||||||
"info": {
|
"info": {
|
||||||
"name": "OwnerTag",
|
"name": "OwnerTag",
|
||||||
"author": "DevilBro",
|
"author": "DevilBro",
|
||||||
"version": "1.3.8",
|
"version": "1.3.9",
|
||||||
"description": "Adds a Tag/Crown to Server Owners (or Admins/Management)"
|
"description": "Adds a Tag/Crown to Server Owners (or Admins/Management)"
|
||||||
},
|
},
|
||||||
"changeLog": {
|
"changeLog": {
|
||||||
|
@ -195,13 +195,13 @@ module.exports = (_ => {
|
||||||
settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.CollapseContainer, {
|
settingsItems.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.CollapseContainer, {
|
||||||
title: "Tag Text Settings",
|
title: "Tag Text Settings",
|
||||||
collapseStates: collapseStates,
|
collapseStates: collapseStates,
|
||||||
children: Object.keys(this.defaults.inputs).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, {
|
children: Object.keys(this.settings.inputs).map(key => BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SettingsSaveItem, {
|
||||||
type: "TextInput",
|
type: "TextInput",
|
||||||
plugin: this,
|
plugin: this,
|
||||||
keys: ["inputs", key],
|
keys: ["inputs", key],
|
||||||
label: this.defaults.inputs[key].description,
|
label: this.defaults.inputs[key].description,
|
||||||
basis: "50%",
|
basis: "50%",
|
||||||
value: this.defaults.inputs[key]
|
value: this.settings.inputs[key]
|
||||||
}))
|
}))
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue