mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 16:00:38 +00:00
small fix
This commit is contained in:
@@ -48,8 +48,7 @@
|
||||
const breakpoint = writable<EditorBreakpoint>('lg')
|
||||
|
||||
async function viewCode(obj: HubItem) {
|
||||
codeViewerContent = undefined
|
||||
codeViewerLanguage = undefined
|
||||
codeViewerContent = ''
|
||||
codeViewerObj = undefined
|
||||
getScriptByPath(obj.path).then(({ content, language }) => {
|
||||
codeViewerContent = content
|
||||
|
||||
Reference in New Issue
Block a user