feat: refs #8657 update application status report to display dynamic status

This commit is contained in:
Alex Moreno 2025-02-24 13:06:53 +01:00
parent 75b3be8b79
commit 909b96087f
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,3 @@
<report-body>
<h1>true</h1>
<h1>{{status}}</h1>
</report-body>

View File

@ -2,5 +2,9 @@ const vnReport = require('../../../core/mixins/vn-report.js');
module.exports = {
name: 'application-status',
mixins: [vnReport]
mixins: [vnReport],
async serverPrefetch() {
const [{status}] = await this.rawSql('SELECT true status');
this.status = status;
}
};