Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Anything Llm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
Mintplex Labs
Anything Llm
Commits
5d106a47
Unverified
Commit
5d106a47
authored
9 months ago
by
Sean Hatfield
Committed by
GitHub
9 months ago
Browse files
Options
Downloads
Patches
Plain Diff
[FIX] New folder modal bug fix (#1654)
new folder modal z index fix
parent
29263dab
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/src/components/Modals/ManageWorkspace/Documents/Directory/index.jsx
+10
-10
10 additions, 10 deletions
...ents/Modals/ManageWorkspace/Documents/Directory/index.jsx
with
10 additions
and
10 deletions
frontend/src/components/Modals/ManageWorkspace/Documents/Directory/index.jsx
+
10
−
10
View file @
5d106a47
...
...
@@ -9,7 +9,6 @@ import showToast from "@/utils/toast";
import
FolderSelectionPopup
from
"
./FolderSelectionPopup
"
;
import
MoveToFolderIcon
from
"
./MoveToFolderIcon
"
;
import
{
useModal
}
from
"
@/hooks/useModal
"
;
import
ModalWrapper
from
"
@/components/ModalWrapper
"
;
import
NewFolderModal
from
"
./NewFolderModal
"
;
import
debounce
from
"
lodash.debounce
"
;
import
{
filterFileSearchResults
}
from
"
./utils
"
;
...
...
@@ -191,7 +190,7 @@ function Directory({
/>
</
div
>
<
button
className
=
"flex items-center gap-x-2 cursor-pointer px-[14px] py-[7px] -mr-[14px] rounded-lg hover:bg-[#222628]/60"
className
=
"flex items-center gap-x-2 cursor-pointer px-[14px] py-[7px] -mr-[14px] rounded-lg hover:bg-[#222628]/60
z-20 relative
"
onClick
=
{
openFolderModal
}
>
<
Plus
size
=
{
18
}
weight
=
"bold"
color
=
"#D3D4D4"
/>
...
...
@@ -292,14 +291,15 @@ function Directory({
setLoadingMessage
=
{
setLoadingMessage
}
/>
</
div
>
<
ModalWrapper
isOpen
=
{
isFolderModalOpen
}
>
<
NewFolderModal
closeModal
=
{
closeFolderModal
}
files
=
{
files
}
setFiles
=
{
setFiles
}
/>
</
ModalWrapper
>
{
isFolderModalOpen
&&
(
<
div
className
=
"bg-black/60 backdrop-blur-sm fixed top-0 left-0 outline-none w-screen h-screen flex items-center justify-center z-30"
>
<
NewFolderModal
closeModal
=
{
closeFolderModal
}
files
=
{
files
}
setFiles
=
{
setFiles
}
/>
</
div
>
)
}
</
div
>
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment