We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2ff7e9 commit 5a2e141Copy full SHA for 5a2e141
src/js/common.js
@@ -215,10 +215,14 @@ function initializeSavedLists(){
215
].filter(title => title !== el.textContent);
216
}
217
else {
218
- el.dataset.listConstraintActive = "true";
219
- el.classList.add('active');
220
- var listName = el.textContent;
221
- window.imTableConstraint['savedList'].push(listName)
+ if(window.imTableConstraint['savedList'].length === 13){
+ window.alert('You can only select a max of 13 List Contraints')
+ } else{
+ el.dataset.listConstraintActive = "true";
222
+ el.classList.add('active');
223
+ var listName = el.textContent;
224
+ window.imTableConstraint['savedList'].push(listName)
225
+ }
226
227
});
228
0 commit comments