1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-12 13:28:33 +00:00

Workshop - Fix info about new images not applying

This commit is contained in:
RobertBeekman 2024-02-23 22:13:42 +01:00 committed by Robert
parent 27ead861a7
commit 585a2fbe18

View File

@ -93,6 +93,14 @@ public partial class ImageSubmissionViewModel : ValidatableViewModelBase
Name = vm.Name;
Description = vm.Description;
// TODO: Just get rid of this stupid mechanism
if (ImageUploadRequest != null)
{
if (Name != null)
ImageUploadRequest.Name = Name;
ImageUploadRequest.Description = Description;
}
return result;
}
}