FlowFuse / FlowFuse/flowfuse

Loading Project Overview appears to be reusing cached values

Open
#529 1 comment 0 reactions 0 assignees View on GitHub
needs-triage
Dominant language
JavaScript
Stars
400
Forks
89
Avg merge
1d 21h
Merged PRs (30d)
146

Description

### Current Behavior

Calling `this.$router.push({ name: 'Project', params: { id: result.id } })` where `result.id` is the id of a new Project is loading a page with details of an old project (the source project for the new project). (Line 78 of Danger.vue in PR #528 )

The URL bar contains the new project id UUID and reloading the page shows the expected information

### Expected Behavior

Details (name, url, state) of the new project to be shown not the old.

### Steps To Reproduce

- Run with code from #528
- Duplicate a project
- After duplication will be left on page showning old project with new project id in URL

### Environment

- FlowForge version: #528
- Node.js version: 16.x
- npm version: 8.x
- Platform/OS: Linux
- Browser: Chrome

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.