mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-03 20:48:07 +00:00
fix: refresh user teams after create/edit/delete team (#2093)
Co-authored-by: Nithin David Thomas <webofnithin@gmail.com>
This commit is contained in:
@@ -107,6 +107,7 @@ export default {
|
|||||||
teamId,
|
teamId,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
this.$store.dispatch('teams/get');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.showAlert(error.message);
|
this.showAlert(error.message);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -129,6 +129,7 @@ export default {
|
|||||||
teamId,
|
teamId,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
this.$store.dispatch('teams/get');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.showAlert(error.message);
|
this.showAlert(error.message);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user