Skip to content

Commit

Permalink
reset ProjectRunner when project changed
Browse files Browse the repository at this point in the history
  • Loading branch information
nighca committed Oct 25, 2024
1 parent d7f7565 commit 3168ee5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spx-gui/src/pages/community/project.vue
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,11 @@ const remixesRet = useQuery(
<div class="left">
<div class="project-wrapper">
<template v-if="project != null">
<ProjectRunner ref="projectRunnerRef" :project="project" />
<ProjectRunner
ref="projectRunnerRef"
:key="`${project.owner}/${project.name}`"
:project="project"
/>
<div v-show="runnerState === 'initial'" class="runner-mask">
<UIButton
class="run-button"
Expand Down

0 comments on commit 3168ee5

Please sign in to comment.