Add condition to prevent loading privacy data when

the privacy modal is closed
This commit is contained in:
Gabriel Pastori 2023-12-06 21:59:15 -03:00
parent 2bd8efca83
commit 1465e73f8e

View File

@ -191,6 +191,7 @@ export default {
},
async loadPrivacy() {
try {
if(!this.isOpen) return;
this.loading = true;
this.error = false;
const privacyData = await instanceController.profile.getPrivacy(