MLv2 v1.7.56 fix on canary

This commit is contained in:
_Lighty_ 2020-10-02 22:56:45 +02:00 committed by GitHub
parent 5ab15b30cd
commit 798e84bfa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -29,7 +29,7 @@ module.exports = class MessageLoggerV2 {
return 'MessageLoggerV2'; return 'MessageLoggerV2';
} }
getVersion() { getVersion() {
return '1.7.55'; return '1.7.56';
} }
getAuthor() { getAuthor() {
return 'Lighty'; return 'Lighty';
@ -162,9 +162,9 @@ module.exports = class MessageLoggerV2 {
getChanges() { getChanges() {
return [ return [
{ {
title: 'bruh', title: 'fixed',
type: 'improved', type: 'fixed',
items: ['Bruh. Gitlab sux, moved plugin to github.'] items: ['Fixed not working on canary']
} }
]; ];
} }
@ -3106,7 +3106,7 @@ module.exports = class MessageLoggerV2 {
this.createModal.confirmationModal.Sizes = ZeresPluginLibrary.WebpackModules.getByProps('ModalSize').ModalSize; this.createModal.confirmationModal.Sizes = ZeresPluginLibrary.WebpackModules.getByProps('ModalSize').ModalSize;
} catch { } } catch { }
this.ModalStack = ZeresPluginLibrary.WebpackModules.getByProps('openModal', 'hasModalOpen'); this.ModalStack = ZeresPluginLibrary.WebpackModules.getByProps('openModal', 'hasModalOpen');
this._modalsApiUnsubcribe = this.ModalStack.modalsApi.subscribe(_ => { this._modalsApiUnsubcribe = (this.ModalStack.modalsApi || this.ModalStack.useModalsStore).subscribe(_ => {
if (this.menu.open && !this.ModalStack.hasModalOpen(this.style.menu)) { if (this.menu.open && !this.ModalStack.hasModalOpen(this.style.menu)) {
this.menu.filter = ''; this.menu.filter = '';
this.menu.open = false; this.menu.open = false;