Skip to content

Commit

Permalink
fix data fetch after snapshot update
Browse files Browse the repository at this point in the history
  • Loading branch information
cstns committed Oct 21, 2024
1 parent 2033e48 commit 5d9f210
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/pages/instance/VersionHistory/Timeline/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</section>
<AssetDetailDialog ref="snapshotViewerDialog" data-el="dialog-view-snapshot" />
<SnapshotExportDialog ref="snapshotExportDialog" data-el="dialog-export-snapshot" :project="instance" />
<SnapshotEditDialog ref="snapshotEditDialog" data-el="dialog-edit-snapshot" @snapshot-updated="fetchData" />
<SnapshotEditDialog ref="snapshotEditDialog" data-el="dialog-edit-snapshot" @snapshot-updated="fetchData(false)" />
</div>
</template>

Expand Down Expand Up @@ -159,7 +159,7 @@ export default {
},
async forceRefresh (callback, ...payload) {
callback(...payload)
.then(() => this.fetchData())
.then(() => this.fetchData(false))
.catch(e => console.warn(e))
},
computeTimelineListMaxHeight () {
Expand Down

0 comments on commit 5d9f210

Please sign in to comment.