+ {#each objectEntries($defaultSubjects) as [className, subject]}
+
+
+ {
+ defaultSubjects.update((obj) => removeKey(obj, className));
+ }}
+ />
+ {
+ defaultSubjects.update((obj) => replaceKey(obj, className, detail));
+ }}
+ />
+
+
+
+ {
+ defaultSubjects.update((old) => {
+ old[className] = detail;
+ return old;
+ });
+ }}
+ />
+
+
+ {/each}
+
+
+ {
+ defaultSubjects.update((old) => ({ ...old, '': '' }));
+ }}
+ />
+
+