fixing local git

This commit is contained in:
cloudwithax 2022-11-13 21:49:14 -05:00
parent e897a59559
commit 8dfdf9f200
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,11 @@ class Filters:
"""Property which checks if any applied filters were preloaded""" """Property which checks if any applied filters were preloaded"""
return any(f for f in self._filters if f.preload == True) return any(f for f in self._filters if f.preload == True)
@property
def has_global(self):
"""Property which checks if any applied filters are global"""
return any(f for f in self._filters if f.preload == False)
@property @property
def empty(self): def empty(self):
"""Property which checks if the filter list is empty""" """Property which checks if the filter list is empty"""