Completata gestione allegati e riepilogo commessa
This commit is contained in:
@@ -85,23 +85,4 @@ public class ModalHelpers
|
||||
|
||||
return await modal.Result;
|
||||
}
|
||||
|
||||
public static async Task<DialogResult?> OpenViewAttach(IDialogService dialog, string? fileViewUrl)
|
||||
{
|
||||
var modal = await dialog.ShowAsync<ViewAttached>(
|
||||
"View attached",
|
||||
new DialogParameters<ViewAttached>
|
||||
{
|
||||
{ x => x.FileViewerUrl, fileViewUrl }
|
||||
},
|
||||
new DialogOptions
|
||||
{
|
||||
FullScreen = true,
|
||||
CloseButton = true,
|
||||
NoHeader = true
|
||||
}
|
||||
);
|
||||
|
||||
return await modal.Result;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user