From 6f987e9195fd27e5303b407e29a22a0b03c85589 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelca Date: Thu, 30 Sep 2021 13:40:40 +0000 Subject: [PATCH] PMCORE-3388: By Selecting "My Cases" in the left Menu the Tab "Started By Me" should be set as default Build PMCORE_3.7.0 fix bad code --- resources/assets/js/home/MyCases/MyCases.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/assets/js/home/MyCases/MyCases.vue b/resources/assets/js/home/MyCases/MyCases.vue index 7ddc57793..83efe41b8 100644 --- a/resources/assets/js/home/MyCases/MyCases.vue +++ b/resources/assets/js/home/MyCases/MyCases.vue @@ -347,6 +347,9 @@ export default { let that = this; api.casesHeader.get().then((response) => { that.headers = that.formatCasesHeaders(response.data); + if (that.headers[0]) { + that.title = that.headers[0].title; + } that.setFilterHeader(); }); },