mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 06:20:21 +00:00
[projects-overview] line-clamp
This commit is contained in:
1 parent
63b66084e1
commit
cef1b5e733
3 files changed
+10
-3
No files matched your search
@@ -87,6 +87,10 @@ export default {
|
||||
font-size: 12px
|
||||
padding-left: 10px
|
||||
margin-top: 5px
|
||||
display: -webkit-box
|
||||
-webkit-line-clamp: 3
|
||||
-webkit-box-orient: vertical
|
||||
overflow: hidden
|
||||
&:after
|
||||
background: unset
|
||||
&:deep(.fc-day-today)
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
<A-mastertask-description :mastertask="mastertask" />
|
||||
|
||||
<div class="d-flex justify-start align-center mt-8">
|
||||
<v-btn class="button primary" @click="toggleIsFinished()">{{ mastertask.is_finished ? 'Otvoriť mastertask' : 'Ukončiť mastertask'}}</v-btn>
|
||||
<v-btn class="button primary" @click="toggleIsFinished()">{{ mastertask.is_finished === 1 ? 'Otvoriť mastertask' : 'Ukončiť mastertask' }}</v-btn>
|
||||
</div>
|
||||
|
||||
<A-tasks-table :subtasks="mastertask.subtasks" />
|
||||
@@ -265,7 +265,7 @@ export default {
|
||||
},
|
||||
|
||||
toggleIsFinished() {
|
||||
this.mastertask.is_finished = !this.mastertask.is_finished
|
||||
this.mastertask.is_finished = this.mastertask.is_finished === 0 ? 1 : 0
|
||||
this.save()
|
||||
},
|
||||
|
||||
|
||||
@@ -18,7 +18,8 @@
|
||||
import errorUtils from '@/plugins/lib@auth/_utils/error.utils'
|
||||
import useVuelidate from '@vuelidate/core'
|
||||
import { required, numeric, minValue } from '@vuelidate/validators'
|
||||
import modalMixin from '@/plugins/tm@modal/_mixins/modal.mixin'
|
||||
import modalMixin from '@/plugins/tm@modal/_mixins/modal.mixin'
|
||||
import tmUtils from '@/plugins/tm@_utils/tm.utils'
|
||||
|
||||
export default {
|
||||
mixins: [ modalMixin ],
|
||||
@@ -56,6 +57,8 @@ export default {
|
||||
if (!await this.v$.$validate())
|
||||
return
|
||||
|
||||
if (this.subtask.deadline) this.subtask.deadline = tmUtils.formatDateTimeForBackend(this.subtask.deadline)
|
||||
|
||||
this.subtask.timesheets.push({
|
||||
id: null,
|
||||
employee_id: this.subtask.employee_id,
|
||||
|
||||
Reference in new issue
Block a user