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 @@ -41,16 +41,17 @@ import systemPreferencesHOC from '../lib/system-preferences-hoc.jsx';
4141import GUIComponent from '../components/gui/gui.jsx' ;
4242import { setIsScratchDesktop } from '../lib/isScratchDesktop.js' ;
4343
44- const { RequestMetadata, setMetadata, unsetMetadata} = storage . scratchFetch ;
44+ // const {RequestMetadata, setMetadata, unsetMetadata} = storage.scratchFetch;
4545
46- const setProjectIdMetadata = projectId => {
46+ // TODO: re-enable metadata
47+ const setProjectIdMetadata = projectId => { // eslint-disable-line no-unused-vars
4748 // If project ID is '0' or zero, it's not a real project ID. In that case, remove the project ID metadata.
4849 // Same if it's null undefined.
49- if ( projectId && projectId !== '0' ) {
50- setMetadata ( RequestMetadata . ProjectId , projectId ) ;
51- } else {
52- unsetMetadata ( RequestMetadata . ProjectId ) ;
53- }
50+ // if (projectId && projectId !== '0') {
51+ // setMetadata(RequestMetadata.ProjectId, projectId);
52+ // } else {
53+ // unsetMetadata(RequestMetadata.ProjectId);
54+ // }
5455} ;
5556
5657class GUI extends React . Component {
You can’t perform that action at this time.
0 commit comments