Skip to content

Commit f0ef10a

Browse files
authored
Merge pull request #1744 from Crown-Commercial-Service/WEB-3055-upt-search-agreement-status-allow-0-selection
not allowing 0 selection for status in search agreement page
2 parents 6a0caa6 + d6aea99 commit f0ef10a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/frameworks/list.html.twig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,9 @@
304304
this.popstateLoad = false;
305305
},
306306
checkedStatus: function(checkedStatus) {
307+
if (checkedStatus.length === 0 ) {
308+
this.checkedStatus = ["Live"];
309+
}
307310
this.fetchAPIData(null)
308311
},
309312
checkedRegulation: function(checkedRegulation) {

0 commit comments

Comments
 (0)