show all severity levels closes #326

This commit is contained in:
wh1te909 2021-03-16 17:54:25 +00:00
parent 53cbb527b4
commit 1a1df50300
1 changed files with 4 additions and 1 deletions

View File

@ -66,7 +66,7 @@
<q-tooltip>Missing</q-tooltip>
</q-icon>
</q-td>
<q-td>{{ props.row.severity }}</q-td>
<q-td>{{ formatSeverity(props.row.severity) }}</q-td>
<q-td>{{ formatMessage(props.row.title) }}</q-td>
<q-td
@click.native="
@ -155,6 +155,9 @@ export default {
};
},
methods: {
formatSeverity(severity) {
return !severity ? "Other" : severity;
},
editPolicy(pk, policy) {
const data = { pk: pk, policy: policy };
axios.patch(`/winupdate/editpolicy/`, data).then(r => {