Skip to content

Commit e063aa8

Browse files
committed
fixed hidden files bug in CodePlayground
Signed-off-by: René <[email protected]>
1 parent cc1ada4 commit e063aa8

File tree

9 files changed

+7
-6
lines changed

9 files changed

+7
-6
lines changed

docs/css/353.04c813ec.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/css/851.c6a53aa3.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
l.pathname.slice(0, -1) + decoded + l.hash
1818
);
1919
}
20-
}(window.location))</script><script defer="defer" src="/js/chunk-vendors.f9c92b56.js"></script><script defer="defer" src="/js/app.e9da19d0.js"></script><link href="/css/app.0a54051d.css" rel="stylesheet"><link rel="icon" type="image/svg+xml" href="/img/icons/favicon.svg"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#4DBA87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="robot-framework"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#4DBA87"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but robot-framework doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
20+
}(window.location))</script><script defer="defer" src="/js/chunk-vendors.f9c92b56.js"></script><script defer="defer" src="/js/app.c59a4dc0.js"></script><link href="/css/app.0a54051d.css" rel="stylesheet"><link rel="icon" type="image/svg+xml" href="/img/icons/favicon.svg"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#4DBA87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="robot-framework"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#4DBA87"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but robot-framework doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

docs/js/353.e5fe5de8.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/js/851.4c6e80ec.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/js/app.c59a4dc0.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/js/app.e9da19d0.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/service-worker.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/EmbeddedEditor.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,8 @@ export default {
324324
if (project.requirements) {
325325
this.requirements = project.requirements
326326
}
327-
this.setActiveFile(activeFileName || project.files[0].fileName)
327+
const visibleFiles = project.files.filter(({ hidden }) => !hidden)
328+
this.setActiveFile(activeFileName || visibleFiles[0].fileName)
328329
this.editorStatus.projectModified = false
329330
this.copyMessage = null
330331
this.output = ''

0 commit comments

Comments
 (0)