mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-15 03:35:28 +00:00
Bug fixes (#637)
* Fix formatting * Handle case where server does not provide permissions information * Enhanced URL checks * Enhanced check * Fix for error dialog * Bump version information
This commit is contained in:
@ -228,13 +228,15 @@ Future<void> showServerError(String url, String title, String description) async
|
||||
playAudioFile("sounds/server_error.mp3");
|
||||
}
|
||||
|
||||
description += "\nURL: $url";
|
||||
|
||||
showSnackIcon(
|
||||
title,
|
||||
success: false,
|
||||
actionText: L10().details,
|
||||
onAction: () {
|
||||
showErrorDialog(
|
||||
L10().serverError,
|
||||
title,
|
||||
description: description,
|
||||
icon: TablerIcons.server
|
||||
);
|
||||
|
Reference in New Issue
Block a user