File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -42,16 +42,17 @@ import systemPreferencesHOC from '../lib/system-preferences-hoc.jsx';
42
42
import GUIComponent from '../components/gui/gui.jsx' ;
43
43
import { setIsScratchDesktop } from '../lib/isScratchDesktop.js' ;
44
44
45
- const { RequestMetadata, setMetadata, unsetMetadata} = storage . scratchFetch ;
45
+ // const {RequestMetadata, setMetadata, unsetMetadata} = storage.scratchFetch;
46
46
47
- const setProjectIdMetadata = projectId => {
47
+ // TODO: re-enable metadata
48
+ const setProjectIdMetadata = projectId => { // eslint-disable-line no-unused-vars
48
49
// If project ID is '0' or zero, it's not a real project ID. In that case, remove the project ID metadata.
49
50
// Same if it's null undefined.
50
- if ( projectId && projectId !== '0' ) {
51
- setMetadata ( RequestMetadata . ProjectId , projectId ) ;
52
- } else {
53
- unsetMetadata ( RequestMetadata . ProjectId ) ;
54
- }
51
+ // if (projectId && projectId !== '0') {
52
+ // setMetadata(RequestMetadata.ProjectId, projectId);
53
+ // } else {
54
+ // unsetMetadata(RequestMetadata.ProjectId);
55
+ // }
55
56
} ;
56
57
57
58
class GUI extends React . Component {
You can’t perform that action at this time.
0 commit comments