Skip to content

Commit f882ae9

Browse files
committed
New bug fixes
1 parent 936b0ea commit f882ae9

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "concore-editor",
33
"version": "0.1.0",
44
"private": true,
5-
"homepage": "/concore-editor",
5+
"homepage": "https://controlcore-project.github.io/concore-editor/",
66
"dependencies": {
77
"@szhsin/react-menu": "^1.10.0",
88
"@testing-library/jest-dom": "^5.11.4",

src/component/fileBrowser.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ const LocalFileBrowser = ({ superState, dispatcher }) => {
134134
className="inputButton"
135135
disabled={!dirButton}
136136
onClick={newFeature}
137+
ref={fileRef}
137138
>
138139
Upload Directory
139140
</button>

src/component/modals/ProjectDetails.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const ProjectDetails = ({ superState, dispatcher }) => {
2424
useEffect(() => {
2525
if (superState.editDetailsModal && curGraph) {
2626
setProjectName(curGraph.projectName);
27-
}
27+
} else setProjectName('');
2828
}, [superState.authorName, superState.editDetailsModal, curGraph]);
2929

3030
useEffect(() => {

src/toolbarActions/toolbarList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const toolbarList = (state, dispatcher) => [
4848
text: 'Save As',
4949
icon: FaSave,
5050
action: (s, d) => [
51-
{ fn: () => saveAction(s, d), name: 'Save As' },
51+
{ fn: () => saveAction(s, d, prompt('File Name:')), name: 'Save As' },
5252
],
5353
active: true,
5454
},

0 commit comments

Comments
 (0)