mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +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}`;
|
||||
}
|
||||
|
||||
if (pet.mountOwned()) {
|
||||
return `GreyedOut Pet Pet-${pet.key} ${pet.eggKey}`;
|
||||
}
|
||||
|
||||
if (pet.isHatchable()) {
|
||||
return 'PixelPaw';
|
||||
}
|
||||
|
||||
if (pet.mountOwned()) {
|
||||
return `GreyedOut Pet Pet-${pet.key} ${pet.eggKey}`;
|
||||
}
|
||||
|
||||
return 'GreyedOut PixelPaw';
|
||||
},
|
||||
hasDrawerTabItems (index) {
|
||||
|
||||
Reference in New Issue
Block a user