File tree Expand file tree Collapse file tree
web/server/vue-cli/src/components
Report/ReportFilter/Filters Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ baseSelectOptionFilter.fetchItems.value = fetchItems;
5252baseSelectOptionFilter .updateReportFilter .value = updateReportFilter;
5353baseSelectOptionFilter .encodeValue .value = encodeValue;
5454baseSelectOptionFilter .decodeValue .value = decodeValue;
55+ baseSelectOptionFilter .titleFormatter .value = titleFormatter;
56+ baseSelectOptionFilter .getIconClass .value = getIconClass;
5557
5658const id = " diff-type" ;
5759baseSelectOptionFilter .id .value = id;
@@ -81,8 +83,12 @@ function decodeValue(diffTypeStr) {
8183}
8284
8385function updateReportFilter () {
86+ let diffTypeVal = baseSelectOptionFilter .selectedItems .value .id ;
87+ if (Array .isArray (baseSelectOptionFilter .selectedItems .value )) {
88+ diffTypeVal = baseSelectOptionFilter .selectedItems .value [0 ].id ;
89+ }
8490 baseSelectOptionFilter .setCmpData ({
85- diffType: baseSelectOptionFilter . selectedItems . value . id
91+ diffType: diffTypeVal
8692 });
8793}
8894
Original file line number Diff line number Diff line change @@ -263,6 +263,7 @@ const diffTargetRoute = computed(() => {
263263 ? props .selectedComparedToRuns : undefined ,
264264 " run-tag-newcheck" : props .selectedComparedToTags .length
265265 ? props .selectedComparedToTags : undefined ,
266+ " diff-type" : " New"
266267 }
267268 };
268269});
You can’t perform that action at this time.
0 commit comments