Update qr task style (#62)

Co-authored-by: Germey <germey@acedata.cloud>
This commit is contained in:
GermeyandGermey authored and GitHub committed 2024-06-30 11:34:15 +00:00
1 parent eee08eb1c2
commit ce6274a88b
4 files changed
+17 -3

No files matched your search

-1
View File
@@ -73,7 +73,6 @@ export default defineComponent({
width: 100%;
height: calc(100% - 50px);
flex: 1;
overflow-y: scroll;
}
.actions {
height: 50px;
+9 -1
View File
@@ -1,7 +1,7 @@
<template>
<div class="panel recent tasks">
<task-preview v-for="(task, taskIndex) in tasks?.items" :key="taskIndex" :model-value="task" class="preview" />
<p v-if="tasks?.items?.length === 0">
<p v-if="tasks?.items?.length === 0" class="description">
{{ $t('qrart.message.noTasks') }}
</p>
</div>
@@ -27,6 +27,9 @@ export default defineComponent({
return this.$store.state.qrart?.status?.getApplication === Status.Request;
},
tasks() {
return {
items: []
};
// reverse the order of the tasks.items
return {
...this.$store.state.qrart?.tasks,
@@ -86,6 +89,11 @@ export default defineComponent({
.preview {
margin-right: 15px;
}
.description {
text-align: left;
font-size: 14px;
color: var(--el-text-color-secondary);
}
}
}
</style>