mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
Fix Settings Sorting
This commit is contained in:
parent
cb95586184
commit
bb6e60b44d
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ export default definePlugin({
|
|||
patchedSettings: new WeakSet(),
|
||||
|
||||
addSettings(elements: any[], element: { header?: string; settings: string[]; }, sectionTypes: SectionTypes) {
|
||||
if (this.patchedSettings.has(elements)) return;
|
||||
if (this.patchedSettings.has(elements) || !this.isRightSpot(element)) return;
|
||||
|
||||
this.patchedSettings.add(elements);
|
||||
|
||||
|
|
Loading…
Reference in a new issue