This commit is contained in:
@ -86,6 +86,7 @@ function UploadDiskImageCard(p: {
|
||||
|
||||
if (
|
||||
newValue &&
|
||||
newValue.type.length > 0 &&
|
||||
!ServerApi.Config.disk_images_mimetypes.includes(newValue.type)
|
||||
) {
|
||||
alert(`Selected file mimetype is not allowed! (${newValue.type})`);
|
||||
|
Reference in New Issue
Block a user