fix related item section in ticket view
This commit is contained in:
parent
2ece0cefd8
commit
f9409bb823
2 changed files with 7 additions and 3 deletions
|
@ -73,7 +73,7 @@
|
||||||
import TimelineMail from "@/components/TimelineMail.vue";
|
import TimelineMail from "@/components/TimelineMail.vue";
|
||||||
import TimelineComment from "@/components/TimelineComment.vue";
|
import TimelineComment from "@/components/TimelineComment.vue";
|
||||||
import TimelineStateChange from "@/components/TimelineStateChange.vue";
|
import TimelineStateChange from "@/components/TimelineStateChange.vue";
|
||||||
import {mapGetters} from "vuex";
|
import {mapActions, mapGetters} from "vuex";
|
||||||
import TimelineAssignment from "@/components/TimelineAssignment.vue";
|
import TimelineAssignment from "@/components/TimelineAssignment.vue";
|
||||||
import TimelineRelatedItem from "@/components/TimelineRelatedItem.vue";
|
import TimelineRelatedItem from "@/components/TimelineRelatedItem.vue";
|
||||||
import TimelineShippingVoucher from "@/components/TimelineShippingVoucher.vue";
|
import TimelineShippingVoucher from "@/components/TimelineShippingVoucher.vue";
|
||||||
|
@ -103,6 +103,7 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
...mapActions(['fetchShippingVouchers']),
|
||||||
sendMailAndClear: function () {
|
sendMailAndClear: function () {
|
||||||
this.$emit('sendMail', this.newMail);
|
this.$emit('sendMail', this.newMail);
|
||||||
this.newMail = "";
|
this.newMail = "";
|
||||||
|
@ -112,6 +113,9 @@ export default {
|
||||||
this.newComment = "";
|
this.newComment = "";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
mounted() {
|
||||||
|
this.fetchShippingVouchers();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
@ -11,10 +11,10 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="card bg-dark">
|
<div class="card bg-dark">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col" style="min-width: 4em;">
|
<div class="col" style="flex-grow: 0;">
|
||||||
<AuthenticatedImage v-if="item.item.file" cached
|
<AuthenticatedImage v-if="item.item.file" cached
|
||||||
:src="`/media/2/256/${item.item.file}/`"
|
:src="`/media/2/256/${item.item.file}/`"
|
||||||
class="d-block w-100 card-img-left"
|
class="d-block card-img-left"
|
||||||
@click="openLightboxModalWith(item.item)"
|
@click="openLightboxModalWith(item.item)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue