mirror of
https://git.srhtnin.garden/sarah/srhtnin.github.io.git
synced 2026-10-14 10:48:12 +02:00
Added social stuff to more areas
This commit is contained in:
1 parent
56d70e8c0c
commit
bafb53e4d5
7 files changed
+540
-181
No files matched your search
@@ -1194,6 +1194,10 @@ function InitialiseProfilePictureChooser() {
|
||||
SavedProfilePicture.GrowthStage
|
||||
);
|
||||
} else {
|
||||
const DefaultPlantKey =
|
||||
DefaultGardenerProfilePicture
|
||||
.PlantKey;
|
||||
|
||||
const FirstEntry =
|
||||
GetProfilePicturePlantEntries()
|
||||
.sort(
|
||||
@@ -1203,11 +1207,19 @@ function InitialiseProfilePictureChooser() {
|
||||
)[0] ?? null;
|
||||
|
||||
ProfilePictureSelectedPlantKey =
|
||||
FirstEntry?.PlantKey ??
|
||||
null;
|
||||
IsProfilePicturePlantAvailable(
|
||||
DefaultPlantKey
|
||||
)
|
||||
? DefaultPlantKey
|
||||
: FirstEntry?.PlantKey ??
|
||||
null;
|
||||
|
||||
ProfilePictureSelectedGrowthStage =
|
||||
null;
|
||||
ProfilePictureSelectedPlantKey ===
|
||||
DefaultPlantKey
|
||||
? DefaultGardenerProfilePicture
|
||||
.GrowthStage
|
||||
: null;
|
||||
}
|
||||
|
||||
RenderProfilePictureChooser();
|
||||
|
||||
Reference in new issue
Block a user