Minor fixes

This commit is contained in:
Muhsin Keloth 2022-09-01 11:29:39 +05:30
parent e7a128e04a
commit 72e841e36b

View file

@ -77,11 +77,11 @@ export default {
},
closeAddLocaleModal() {
this.isAddLocaleModalOpen = false;
this.selectedPortal = {};
},
addLocale(portalId) {
this.isAddLocaleModalOpen = true;
this.selectedPortal = this.portals.find(portal => portal.id === portalId);
// this.$router.push({ name: 'new_portal_locale', params: { portalId } });
},
},
};