diff --git a/dashboard/src/utils.js b/dashboard/src/utils.js index 5fbeaea8d..a97b0bd73 100644 --- a/dashboard/src/utils.js +++ b/dashboard/src/utils.js @@ -70,6 +70,8 @@ function eventlogDetails(eventLog, app = null, appIdContext = '') { const ACTION_BACKUP_CLEANUP_START = 'backup.cleanup.start'; const ACTION_BACKUP_CLEANUP_FINISH = 'backup.cleanup.finish'; + const ACTION_BACKUPTARGET_ADD = 'backuptarget.add'; + const ACTION_BRANDING_AVATAR = 'branding.avatar'; const ACTION_BRANDING_NAME = 'branding.name'; const ACTION_BRANDING_FOOTER = 'branding.footer'; @@ -321,6 +323,9 @@ function eventlogDetails(eventLog, app = null, appIdContext = '') { case ACTION_BACKUP_CLEANUP_FINISH: return data.errorMessage ? 'Backup cleaner errored: ' + data.errorMessage : 'Backup cleaner removed ' + (data.removedBoxBackupPaths ? data.removedBoxBackupPaths.length : '0') + ' backups'; + case ACTION_BACKUPTARGET_ADD: + return `New backup ${data.name} site added`; + case ACTION_BRANDING_AVATAR: return 'Cloudron Avatar Changed'; diff --git a/dashboard/src/views/EventlogView.vue b/dashboard/src/views/EventlogView.vue index 8c30712cb..787cb4231 100644 --- a/dashboard/src/views/EventlogView.vue +++ b/dashboard/src/views/EventlogView.vue @@ -35,6 +35,7 @@ const availableActions = [ { id: 'backup.cleanup.finish' }, { id: 'backup.finish' }, { id: 'backup.start' }, + { id: 'backuptarget.add' }, { id: 'branding.avatar' }, { id: 'branding.footer' }, { id: 'branding.name' },