disable SSR and make few more tweaks

This commit is contained in:
Volodymyr Smirnov
2020-10-27 20:05:24 +02:00
parent 931db11b6e
commit ce353a42dc
8 changed files with 16 additions and 35 deletions

View File

@@ -12,8 +12,8 @@
<template #cell(threats)="data">
<div class="text-success" v-if="data.item.succeeded && !data.item.threats.length">No threats have been detected</div>
<div class="text-danger" v-if="data.item.succeeded === false">Scanning failed to complete due to the error or timeout</div>
<div v-if="!data.item.completed">Scanning is in progress</div>
<div class="text-danger" v-if="data.item.succeeded === false">Scan failed to complete due to the error or timeout</div>
<div v-if="!data.item.completed">Scan is in progress</div>
<ul v-if="data.item.completed && data.item.threats.length" class="list-inline m-0">
<li class="text-danger" v-for="threat in data.item.threats" v-bind:key="threat">{{ threat }}</li>