[UPDT] BREADCRUMBS: Added 'geo-face-config' to sidebar URLs

This commit is contained in:
Horilla
2025-12-10 19:23:07 +05:30
parent 77b0b35152
commit 070328e372

View File

@@ -19,18 +19,14 @@ def is_valid_uuid(uuid_string):
def _split_path(self, path=None):
"""Returns a list of the path components between slashes"""
if not path:
path = self.path
if path.endswith("/"):
path = path[:-1]
if path.startswith("/"):
path = path[1:]
if path == "":
return list()
result = path.split("/")
return result
path = path or self.path
parts = path.split("/") if path else []
if parts and parts[0] in ("static", "media"):
return []
return parts
sidebar_urls = [
@@ -81,6 +77,7 @@ sidebar_urls = [
"asset-request-allocation-view",
"settings",
"attendance-settings",
"geo-face-config",
"employee-permission-assign",
"user-group-assign",
"currency",