Fix:Account type select dropdown & add root user change password button

This commit is contained in:
advplyr
2022-04-29 18:19:04 -05:00
parent 220bbc3d2d
commit 4dac8ac16c
3 changed files with 36 additions and 13 deletions

View File

@ -58,7 +58,7 @@
</table>
</div>
<modals-account-modal v-model="showAccountModal" :account="selectedAccount" />
<modals-account-modal ref="accountModal" v-model="showAccountModal" :account="selectedAccount" />
</div>
</template>
@ -156,6 +156,10 @@ export default {
this.init()
},
beforeDestroy() {
if (this.$refs.accountModal) {
this.$refs.accountModal.close()
}
if (this.$root.socket) {
this.$root.socket.off('user_added', this.newUserAdded)
this.$root.socket.off('user_updated', this.userUpdated)