eventlog: add flag for source builds

This commit is contained in:
Girish Ramakrishnan
2026-02-21 11:48:39 +01:00
parent eb5f8fcfa1
commit 7ba3a59dea
3 changed files with 9 additions and 4 deletions

View File

@@ -175,7 +175,11 @@ function eventlogDetails(eventLog, app = null, appIdContext = '') {
case EVENTS.APP_INSTALL:
if (!data.app) return '';
return data.app.manifest.title + ' (package v' + data.app.manifest.version + ') was installed ' + appName('at', data.app);
details = data.app.versionsUrl ? 'Community app ' : '';
details += data.app.manifest.title + ' (package v' + data.app.manifest.version + ')';
details += data.sourceBuild ? ' was built and installed' : ' was installed';
details += appIdContext ? '' : ` at ${data.app.fqdn}`;
return details;
case EVENTS.APP_RESTORE:
if (!data.app) return '';