Fix QR art issues (#35)

This commit is contained in:
AceDataCloud committed 2024-04-28 14:21:21 +00:00
1 parent bbf40bee27
commit cac7c91c02
50 files changed
+540 -340

No files matched your search

+5 -2
View File
@@ -7,6 +7,9 @@
class="preview"
@click="onSelectTask(task)"
/>
<p v-if="tasks?.items?.length === 0">
{{ $t('qrart.message.noTasks') }}
</p>
</div>
</template>
@@ -28,10 +31,10 @@ export default defineComponent({
},
computed: {
loading() {
return this.$store.state.qrart.status.getApplication === Status.Request;
return this.$store.state.qrart?.status?.getApplication === Status.Request;
},
tasks() {
return this.$store.state.qrart.tasks;
return this.$store.state.qrart?.tasks;
}
},
async mounted() {