Skip to content

Commit

Permalink
Another attempt at the same sentry errors (#655)
Browse files Browse the repository at this point in the history
  • Loading branch information
annehaley authored May 4, 2023
1 parent 2cdaaf1 commit 3fde5b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions web_client/src/components/ProjectUsers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ export default defineComponent({
:dark="false"
>
<v-card
v-if="selectedPermissionSet"
class="dialog-box"
>
<v-btn
Expand Down
6 changes: 3 additions & 3 deletions web_client/src/views/Projects.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default defineComponent({
ProjectUsers,
},
setup() {
let complete = window.location.hash.includes('complete');
const complete = ref(window.location.hash.includes('complete'));
const user = computed(() => store.state.me);
const miqaConfig = computed(() => store.state.MIQAConfig);
const loadingProjects = ref(true);
Expand Down Expand Up @@ -108,7 +108,7 @@ export default defineComponent({
);
}
async function getProjectFromURL() {
if (complete) {
if (complete.value) {
const targetProjectIndex = projects.value.findIndex(
(project) => project.id === window.location.hash.split('/')[1],
);
Expand All @@ -118,7 +118,7 @@ export default defineComponent({
}
}
function selectProject(project: Project) {
complete = false;
complete.value = false;
store.dispatch('loadProject', project);
}
async function createProject() {
Expand Down

0 comments on commit 3fde5b9

Please sign in to comment.