Skip to content

Commit

Permalink
Merge pull request #3343 from lakshay-jainn/develop
Browse files Browse the repository at this point in the history
FIX : Unable to Create Files or Folders Through the File Actions Modal
  • Loading branch information
raclim authored Feb 20, 2025
2 parents 5e51841 + 589aa27 commit 3094040
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/modules/IDE/components/Sidebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ export default function SideBar() {
<ul className="sidebar__project-options">
<li>
<button
onMouseDown={(e) => e.preventDefault()}
aria-label={t('Sidebar.AddFolderARIA')}
onClick={() => {
dispatch(newFolder(rootFile.id));
Expand All @@ -103,6 +104,7 @@ export default function SideBar() {
</li>
<li>
<button
onMouseDown={(e) => e.preventDefault()}
aria-label={t('Sidebar.AddFileARIA')}
onClick={() => {
dispatch(newFile(rootFile.id));
Expand All @@ -116,6 +118,7 @@ export default function SideBar() {
{isAuthenticated && (
<li>
<button
onMouseDown={(e) => e.preventDefault()}
aria-label={t('Sidebar.UploadFileARIA')}
onClick={() => {
dispatch(openUploadFileModal(rootFile.id));
Expand Down

0 comments on commit 3094040

Please sign in to comment.