mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07:00
Fix expand-all-cws button, resolves #43
This commit is contained in:
parent
44b724e311
commit
e1376b1c29
1 changed files with 6 additions and 2 deletions
|
@ -244,8 +244,12 @@ let _showContent = $ref(null);
|
|||
let showContent = $computed({
|
||||
set(val) { _showContent = val },
|
||||
get() {
|
||||
if (_showContent != null) return _showContent;
|
||||
return props.forceExpandCw || false;
|
||||
if (props.forceExpandCw != null) {
|
||||
_showContent = props.forceExpandCw;
|
||||
props.forceExpandCw = null;
|
||||
}
|
||||
|
||||
return _showContent || false;
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue