Workshop - Fix info about new images not applying

This commit is contained in:
RobertBeekman authored and Robert committed 2024-02-23 22:13:46 +01:00
1 parent 27ead861a7
commit 585a2fbe18
1 file changed
+8
@@ -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;
}
}