Skip to content

Commit 7403e75

Browse files
committed
fix: form does not show when tab is opened
Convert the _dynamicTemplate variable to state to ensure it will trigger a re-rendering.
1 parent 91ed2bf commit 7403e75

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

frontend/src/components/cme-form-view/cme-form-view.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,13 @@ export class FormView extends connect(store)(LitElement) {
5454
@state()
5555
private _tokenValues: {[name: string]: string | string[]} = {};
5656

57+
@state()
58+
private _dynamicTemplate: string[] = [];
59+
5760
@query('#form-view-repo-selector')
5861
private _repoSelector!: RepoSelector;
5962

60-
private _dynamicTemplate: string[] = [];
63+
6164
private _reduceEmptyLines = true;
6265

6366
connectedCallback(): void {

0 commit comments

Comments
 (0)