architwin 1.15.0 → 1.15.1
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.
|
@@ -723,14 +723,15 @@ export function highlightSelectedPartitionChild(partitionId, name) {
|
|
|
723
723
|
if (header) {
|
|
724
724
|
header.classList.toggle('selected', isSelected);
|
|
725
725
|
const arrow = header.querySelector('.at_partition_child_expand_icon');
|
|
726
|
-
if (arrow
|
|
726
|
+
if (arrow === null || arrow === void 0 ? void 0 : arrow.textContent) {
|
|
727
727
|
if (isSelected) {
|
|
728
|
-
arrow.textContent = arrow.textContent.
|
|
729
|
-
|
|
728
|
+
arrow.textContent = arrow.textContent.includes('▶')
|
|
729
|
+
? arrow.textContent.replace('▶', '▼')
|
|
730
|
+
: arrow.textContent.replace('▼', '▶');
|
|
731
|
+
toggleExpandParitionWallChild(partitionId, name);
|
|
730
732
|
}
|
|
731
733
|
else {
|
|
732
734
|
arrow.textContent = arrow.textContent.replace('▼', '▶');
|
|
733
|
-
toggleExpandParitionWallChild(partitionId, name, true);
|
|
734
735
|
}
|
|
735
736
|
}
|
|
736
737
|
}
|