Commit 296f773
fix(changeNoteType): hide headers and warning for cloze conversions
When converting to/from a cloze note type, the template tab incorrectly
showed "Current"/"New" column headers and a discarded-cards warning.
Now, when templates cannot be changed (any cloze conversion), the header
layout and removal warning are hidden alongside the spinners.
Also removes a duplicate visibility assignment line.
Fixes: #20873
Assisted-by: Claude Opus 4.7 - discussion & rubber duck
Signed-off-by: Hari Srinivasan <harisrini21@gmail.com>1 parent 182e799 commit 296f773
1 file changed
Lines changed: 7 additions & 2 deletions
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
491 | | - | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
492 | 495 | | |
493 | 496 | | |
494 | 497 | | |
495 | 498 | | |
496 | 499 | | |
497 | | - | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
498 | 503 | | |
499 | 504 | | |
500 | 505 | | |
| |||
0 commit comments