mirror of
https://github.com/frappe/books.git
synced 2024-12-22 19:09:01 +00:00
incr: add platform when report issue
This commit is contained in:
parent
d268255c4a
commit
a200753063
@ -225,6 +225,7 @@ export class Fyo {
|
||||
isDevelopment: false,
|
||||
skipTelemetryLogging: false,
|
||||
appVersion: '',
|
||||
platform: '',
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -179,6 +179,7 @@ function getIssueUrlQuery(errorLogObj?: ErrorLog): string {
|
||||
}
|
||||
|
||||
body.push(`**Version**: \`${fyo.store.appVersion}\``);
|
||||
body.push(`**Platform**: \`${fyo.store.platform}\``);
|
||||
body.push(`**Path**: \`${router.currentRoute.value.fullPath}\``);
|
||||
|
||||
const url = [baseUrl, `body=${body.join('\n')}`].join('&');
|
||||
|
@ -30,6 +30,7 @@ import { setLanguageMap } from './utils/language';
|
||||
|
||||
fyo.store.isDevelopment = isDevelopment;
|
||||
fyo.store.appVersion = version;
|
||||
fyo.store.platform = platform;
|
||||
const platformName = getPlatformName(platform);
|
||||
|
||||
setOnWindow(isDevelopment);
|
||||
|
Loading…
Reference in New Issue
Block a user