Merge pull request #713 from directus/file-replace

add ability to replace file
This commit is contained in:
Rijk van Zanten
2020-10-22 19:53:29 +02:00
committed by GitHub
14 changed files with 166 additions and 49 deletions

View File

@@ -384,7 +384,7 @@ export default defineComponent({
}
async function refreshCurrentUser() {
if (userStore.state.currentUser!.id === item.value.id) {
if (userStore.state.currentUser!.id === item.value?.id) {
await userStore.hydrate();
}
}