mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-18 20:15:47 -04:00
(bug) fix <ExpendableList>'s only-one-item-hidden behaviour
This commit is contained in:
parent
af7c47d079
commit
9340b4fb8e
@ -52,9 +52,9 @@ const updateData = (): void => {
|
|||||||
newShowLimit = limit;
|
newShowLimit = limit;
|
||||||
newHiddenCount = props.values.length - limit;
|
newHiddenCount = props.values.length - limit;
|
||||||
}
|
}
|
||||||
if (hiddenCount.value === 1) {
|
if (newHiddenCount === 1) {
|
||||||
newShowLimit--;
|
newShowLimit++;
|
||||||
newHiddenCount++;
|
newHiddenCount--;
|
||||||
}
|
}
|
||||||
|
|
||||||
allShown.value = props.expand;
|
allShown.value = props.expand;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user