feat: refs #8657 update application status report to display dynamic status
This commit is contained in:
parent
75b3be8b79
commit
909b96087f
|
@ -1,3 +1,3 @@
|
||||||
<report-body>
|
<report-body>
|
||||||
<h1>true</h1>
|
<h1>{{status}}</h1>
|
||||||
</report-body>
|
</report-body>
|
||||||
|
|
|
@ -2,5 +2,9 @@ const vnReport = require('../../../core/mixins/vn-report.js');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'application-status',
|
name: 'application-status',
|
||||||
mixins: [vnReport]
|
mixins: [vnReport],
|
||||||
|
async serverPrefetch() {
|
||||||
|
const [{status}] = await this.rawSql('SELECT true status');
|
||||||
|
this.status = status;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue