MOBILE-4270 lang: Solve error details not being shown
parent
9f850816be
commit
013a55a5a4
|
@ -2310,7 +2310,7 @@
|
||||||
"core.selectagroup": "moodle",
|
"core.selectagroup": "moodle",
|
||||||
"core.send": "message",
|
"core.send": "message",
|
||||||
"core.sending": "chat",
|
"core.sending": "chat",
|
||||||
"core.serverconnection": "error",
|
"core.serverconnection": "local_moodlemobileapp",
|
||||||
"core.settings.about": "local_moodlemobileapp",
|
"core.settings.about": "local_moodlemobileapp",
|
||||||
"core.settings.accessstatement": "access",
|
"core.settings.accessstatement": "access",
|
||||||
"core.settings.appsettings": "local_moodlemobileapp",
|
"core.settings.appsettings": "local_moodlemobileapp",
|
||||||
|
|
|
@ -538,7 +538,7 @@ export class CoreTextUtilsProvider {
|
||||||
* @returns Error message, undefined if not found.
|
* @returns Error message, undefined if not found.
|
||||||
*/
|
*/
|
||||||
getErrorMessageFromError(error?: CoreAnyError): string | undefined {
|
getErrorMessageFromError(error?: CoreAnyError): string | undefined {
|
||||||
if (typeof error == 'string') {
|
if (typeof error === 'string') {
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue