mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
if a pet is still hatchable show the hatchable - icon instead of the "you already own the mount"-icon (#10243)
This commit is contained in:
@@ -848,14 +848,14 @@
|
|||||||
return `Pet Pet-${pet.key} ${pet.eggKey}`;
|
return `Pet Pet-${pet.key} ${pet.eggKey}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pet.mountOwned()) {
|
|
||||||
return `GreyedOut Pet Pet-${pet.key} ${pet.eggKey}`;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (pet.isHatchable()) {
|
if (pet.isHatchable()) {
|
||||||
return 'PixelPaw';
|
return 'PixelPaw';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pet.mountOwned()) {
|
||||||
|
return `GreyedOut Pet Pet-${pet.key} ${pet.eggKey}`;
|
||||||
|
}
|
||||||
|
|
||||||
return 'GreyedOut PixelPaw';
|
return 'GreyedOut PixelPaw';
|
||||||
},
|
},
|
||||||
hasDrawerTabItems (index) {
|
hasDrawerTabItems (index) {
|
||||||
|
|||||||
Reference in New Issue
Block a user