mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-15 00:12:17 +00:00
fix(stable): wacky sorting
This commit is contained in:
parent
903851f1fd
commit
ba61da4acb
1 changed files with 2 additions and 2 deletions
|
|
@ -183,7 +183,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div
|
||||
v-if="petGroup.key !== 'specialPets' && petGroup.key !== 'wackyPets'"
|
||||
v-if="petGroup.key !== 'specialPets' && !(petGroup.key === 'wackyPets' && selectedSortBy !== 'sortByColor')"
|
||||
class="btn btn-flat btn-show-more"
|
||||
@click="setShowMore(petGroup.key)"
|
||||
>
|
||||
|
|
@ -790,7 +790,7 @@ export default {
|
|||
const pets = this.listAnimals(animalGroup, 'pet', hideMissing, sortBy, searchText);
|
||||
|
||||
// Don't group special
|
||||
if (animalGroup.key === 'specialPets' || animalGroup.key === 'wackyPets') {
|
||||
if (animalGroup.key === 'specialPets' || (animalGroup.key === 'wackyPets' && sortBy !== 'sortByColor')) {
|
||||
return { none: pets };
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue