mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-11 01:10:11 +01:00
patch name
This commit is contained in:
parent
fad1129b33
commit
eb583c2cb7
@ -29,7 +29,7 @@ export default function NewFolderModal({ closeModal, files, setFiles }) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="relative w-full max-w-2xl max-h-full">
|
<div className="relative w-full max-w-xl max-h-full">
|
||||||
<div className="relative bg-main-gradient rounded-lg shadow">
|
<div className="relative bg-main-gradient rounded-lg shadow">
|
||||||
<div className="flex items-start justify-between p-4 border-b rounded-t border-gray-500/50">
|
<div className="flex items-start justify-between p-4 border-b rounded-t border-gray-500/50">
|
||||||
<h3 className="text-xl font-semibold text-white">
|
<h3 className="text-xl font-semibold text-white">
|
@ -8,7 +8,7 @@ import useUser from "../../../hooks/useUser";
|
|||||||
import DocumentSettings from "./Documents";
|
import DocumentSettings from "./Documents";
|
||||||
import DataConnectors from "./DataConnectors";
|
import DataConnectors from "./DataConnectors";
|
||||||
|
|
||||||
const noop = () => {};
|
const noop = () => { };
|
||||||
const ManageWorkspace = ({ hideModal = noop, providedSlug = null }) => {
|
const ManageWorkspace = ({ hideModal = noop, providedSlug = null }) => {
|
||||||
const { slug } = useParams();
|
const { slug } = useParams();
|
||||||
const { user } = useUser();
|
const { user } = useUser();
|
||||||
@ -105,21 +105,19 @@ const ModalTabSwitcher = ({ selectedTab, setSelectedTab }) => {
|
|||||||
<div className="gap-x-2 flex justify-center -mt-[68px] mb-10 bg-sidebar-button p-1 rounded-xl shadow border-2 border-slate-300/10 w-fit">
|
<div className="gap-x-2 flex justify-center -mt-[68px] mb-10 bg-sidebar-button p-1 rounded-xl shadow border-2 border-slate-300/10 w-fit">
|
||||||
<button
|
<button
|
||||||
onClick={() => setSelectedTab("documents")}
|
onClick={() => setSelectedTab("documents")}
|
||||||
className={`px-4 py-2 rounded-[8px] font-semibold text-white hover:bg-switch-selected hover:bg-opacity-60 ${
|
className={`px-4 py-2 rounded-[8px] font-semibold text-white hover:bg-switch-selected hover:bg-opacity-60 ${selectedTab === "documents"
|
||||||
selectedTab === "documents"
|
|
||||||
? "bg-switch-selected shadow-md font-bold"
|
? "bg-switch-selected shadow-md font-bold"
|
||||||
: "bg-sidebar-button text-white/20 font-medium hover:text-white"
|
: "bg-sidebar-button text-white/20 font-medium hover:text-white"
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
Documents
|
Documents
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
onClick={() => setSelectedTab("dataConnectors")}
|
onClick={() => setSelectedTab("dataConnectors")}
|
||||||
className={`px-4 py-2 rounded-[8px] font-semibold text-white hover:bg-switch-selected hover:bg-opacity-60 ${
|
className={`px-4 py-2 rounded-[8px] font-semibold text-white hover:bg-switch-selected hover:bg-opacity-60 ${selectedTab === "dataConnectors"
|
||||||
selectedTab === "dataConnectors"
|
|
||||||
? "bg-switch-selected shadow-md font-bold"
|
? "bg-switch-selected shadow-md font-bold"
|
||||||
: "bg-sidebar-button text-white/20 font-medium hover:text-white"
|
: "bg-sidebar-button text-white/20 font-medium hover:text-white"
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
Data Connectors
|
Data Connectors
|
||||||
</button>
|
</button>
|
Loading…
Reference in New Issue
Block a user