mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 04:03:49 +01:00
Fix expand-all-cws button, resolves #43
This commit is contained in:
parent
44b724e311
commit
e1376b1c29
@ -244,8 +244,12 @@ let _showContent = $ref(null);
|
|||||||
let showContent = $computed({
|
let showContent = $computed({
|
||||||
set(val) { _showContent = val },
|
set(val) { _showContent = val },
|
||||||
get() {
|
get() {
|
||||||
if (_showContent != null) return _showContent;
|
if (props.forceExpandCw != null) {
|
||||||
return props.forceExpandCw || false;
|
_showContent = props.forceExpandCw;
|
||||||
|
props.forceExpandCw = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return _showContent || false;
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user