Commit 934ca8f
Initialize isAdmin and isFirstUser at declaration to fix empty debug box
- Changed initialization from ngOnInit() to property declaration
- Set isAdmin = true and isFirstUser = true at declaration time
- This ensures values are available immediately when template renders
- Fixes issue where yellow debug box was empty (no interpolated values)
- Template binding happens before ngOnInit(), so values must be set at declaration
Co-authored-by: renemadsen <[email protected]>1 parent ee73046 commit 934ca8f
File tree
1 file changed
+4
-5
lines changed- eform-client/src/app/plugins/modules/time-planning-pn/components/plannings/time-planning-actions/assigned-site
1 file changed
+4
-5
lines changedLines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
59 | | - | |
60 | | - | |
61 | | - | |
| 60 | + | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
0 commit comments