Avoid showing the config file in the editor (temporary solution)

pull/1/head
Alex Beregszaszi 8 years ago
parent d026e399a5
commit f36b9d9ac8
  1. 3
      src/app/editor.js

@ -95,7 +95,8 @@ function Editor (loadingFromGist, storage) {
function getFiles () { function getFiles () {
var files = [] var files = []
storage.keys().forEach(function (f) { storage.keys().forEach(function (f) {
if (utils.isCachedFile(f)) { // NOTE: as a temporary measure do not show the config file in the editor
if (utils.isCachedFile(f) && (f !== (utils.fileKey('.browser-solidity.json')))) {
files.push(f) files.push(f)
if (!sessions[f]) sessions[f] = newEditorSession(f) if (!sessions[f]) sessions[f] = newEditorSession(f)
} }

Loading…
Cancel
Save