Conditions | 2 |
Total Lines | 8 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import { METRICS_SYSTEM_CONFIG_DOMAIN, ALLOW_USAGE_DATA_SYSTEM_CONFIG_KEY } from 'src/core/service/api/metrics.api.service'; |
||
29 | alertText() { |
||
30 | let alertText = this.$tc('sw-settings-usage-data.general.alertText'); |
||
31 | |||
32 | if (!this.isAdmin) { |
||
33 | alertText += ` ${this.$tc('sw-settings-usage-data.general.alertTextOnlyAdmins')}`; |
||
34 | } |
||
35 | |||
36 | return alertText; |
||
37 | }, |
||
64 |