File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export default function OpenActions() {
64
64
// details panel will complain about unknown nodes or edges if the last selected is not cleared
65
65
dispatch ( clearSelected ( ) ) ;
66
66
67
- // rest graph with new data
67
+ // reset graph with new data
68
68
graph . current . clear ( ) ;
69
69
graph . current . import ( save . graph ) ;
70
70
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export default function RmpGalleryAppClip(props: RmpGalleryAppClipProps) {
57
57
// details panel will complain about unknown nodes or edges if the last selected is not cleared
58
58
dispatch ( clearSelected ( ) ) ;
59
59
60
- // rest graph with new data
60
+ // reset graph with new data
61
61
graph . current . clear ( ) ;
62
62
graph . current . import ( save . graph ) ;
63
63
@@ -124,6 +124,8 @@ export default function RmpGalleryAppClip(props: RmpGalleryAppClipProps) {
124
124
let host : string | undefined = undefined ;
125
125
if ( firstDotIndex !== - 1 ) host = params . substring ( firstDotIndex + 1 ) ;
126
126
fetchAndApplyTemplate ( id , host ) ;
127
+ // clear the search params in rmt, otherwise it will be preserved and re-imported every time
128
+ rmgRuntime . updateAppMetadata ( { } ) ;
127
129
}
128
130
} , [ ] ) ;
129
131
You can’t perform that action at this time.
0 commit comments