@cccarv82/freya 1.0.61 → 1.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/web-ui.css +1 -0
- package/cli/web-ui.js +2 -2
- package/package.json +1 -1
package/cli/web-ui.css
CHANGED
package/cli/web-ui.js
CHANGED
|
@@ -555,7 +555,7 @@
|
|
|
555
555
|
for (const item of list) {
|
|
556
556
|
const card = document.createElement('div');
|
|
557
557
|
const mode = state.reportModes[item.relPath] || 'preview';
|
|
558
|
-
const expanded = state.reportExpanded && state.reportExpanded[item.relPath];
|
|
558
|
+
const expanded = (state.reportExpanded && state.reportExpanded[item.relPath]) || mode === 'raw';
|
|
559
559
|
card.className = 'reportCard' + (mode === 'raw' ? ' raw' : '') + (expanded ? ' expanded' : '');
|
|
560
560
|
|
|
561
561
|
const meta = fmtWhen(item.mtimeMs);
|
|
@@ -601,7 +601,7 @@
|
|
|
601
601
|
});
|
|
602
602
|
preview.addEventListener('blur', () => {
|
|
603
603
|
preview.dataset.editing = '';
|
|
604
|
-
const val = preview.
|
|
604
|
+
const val = preview.innerText || '';
|
|
605
605
|
state.reportTexts[item.relPath] = val;
|
|
606
606
|
if (raw) {
|
|
607
607
|
raw.value = val;
|