Skip to content

Commit

Permalink
close side panel when selected dataset is deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Nov 14, 2024
1 parent fc96315 commit 9df5bd2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lumigator/frontend/src/components/pages/LDatasets.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ const onDatasetUpload = (datasetFile) => {
}
const onDeleteDataset = (datasetID) => {
if (datasetID === selectedDataset.value.id) {
selectedDataset.value = null;
showSlidingPanel.value = false;
}
datasetStore.deleteDataset(datasetID);
}
Expand Down

0 comments on commit 9df5bd2

Please sign in to comment.