diff --git a/src/components/Header/Header.module.css b/src/components/Header/Header.module.css index 87867ea..eac6e90 100644 --- a/src/components/Header/Header.module.css +++ b/src/components/Header/Header.module.css @@ -162,7 +162,7 @@ .activeNotificationDiv { opacity: 1; transform: translateY(0); - z-index: 3; + z-index: 5; } .notification{ diff --git a/src/components/ToolBar/ToolBar.jsx b/src/components/ToolBar/ToolBar.jsx index 56f0bca..d1f069f 100644 --- a/src/components/ToolBar/ToolBar.jsx +++ b/src/components/ToolBar/ToolBar.jsx @@ -5,7 +5,7 @@ import {useEffect, useState} from "react"; import SearchBar from "../SearchBar/SearchBar.jsx"; -function ToolBar({setFilters, filters}) { +function ToolBar({setFilters, filters, showCreate = true}) { const [isFilterVisible, setIsFilterVisible] = useState(false); const [isSearchVisible, setIsSearchVisible] = useState(false); const toggleFilters = () => { @@ -36,11 +36,13 @@ function ToolBar({setFilters, filters}) { ) : null}