diff --git a/frontend/src/Editor/Editor.jsx b/frontend/src/Editor/Editor.jsx index a7040cef67..3353a7d4be 100644 --- a/frontend/src/Editor/Editor.jsx +++ b/frontend/src/Editor/Editor.jsx @@ -35,6 +35,7 @@ import queryString from 'query-string'; import toast from 'react-hot-toast'; import produce, { enablePatches, setAutoFreeze, applyPatches } from 'immer'; import Logo from './Icons/logo.svg'; +import RunjsIcon from './Icons/runjs.svg'; import EditIcon from './Icons/edit.svg'; import MobileSelectedIcon from './Icons/mobile-selected.svg'; import DesktopSelectedIcon from './Icons/desktop-selected.svg'; @@ -657,7 +658,11 @@ class Editor extends React.Component { onMouseLeave={() => this.setShowHiddenOptionsForDataQuery(null)} >
- {getSvgIcon(sourceMeta.kind.toLowerCase(), 25, 25)} + {sourceMeta.kind === 'runjs' ? ( + + ) : ( + getSvgIcon(sourceMeta.kind.toLowerCase(), 25, 25) + )} {dataQuery.name}
diff --git a/frontend/src/Editor/Icons/runjs.svg b/frontend/src/Editor/Icons/runjs.svg new file mode 100644 index 0000000000..e940f7662d --- /dev/null +++ b/frontend/src/Editor/Icons/runjs.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file