Skip to content

Commit

Permalink
feat: use popup icon for FEEL editor
Browse files Browse the repository at this point in the history
Closes #310
  • Loading branch information
nikku committed Nov 30, 2023
1 parent 15eae8f commit 0637684
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/entries/FEEL/FeelEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { lineNumbers } from '@codemirror/view';

import { useStaticCallback } from '../../../hooks';

import { ExternalLinkIcon } from '../../icons';
import { PopupIcon } from '../../icons';

const noop = () => {};

Expand Down Expand Up @@ -153,7 +153,7 @@ const CodeEditor = forwardRef((props, ref) => {
<button
title="Open pop-up editor"
class="bio-properties-panel-open-feel-popup"
onClick={ () => onPopupOpen() }><ExternalLinkIcon /></button>
onClick={ () => onPopupOpen() }><PopupIcon /></button>
</div>;
});

Expand Down
1 change: 1 addition & 0 deletions src/components/icons/Popup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/components/icons/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export { default as CreateIcon } from './Create.svg';
export { default as DeleteIcon } from './Delete.svg';
export { default as DragIcon } from './Drag.svg';
export { default as ExternalLinkIcon } from './ExternalLink.svg';
export { default as FeelIcon } from './Feel.svg';
export { default as FeelIcon } from './Feel.svg';
export { default as PopupIcon } from './Popup.svg';

0 comments on commit 0637684

Please sign in to comment.