ui: tweak
This commit is contained in:
parent
aa5a4e4c97
commit
20630d1629
|
@ -238,12 +238,12 @@ const Expression = ({
|
||||||
Renderables.push(
|
Renderables.push(
|
||||||
<Key
|
<Key
|
||||||
childrenDescription={{
|
childrenDescription={{
|
||||||
'.': {label: '', type: description.type},
|
'≡': {label: '', type: description.type},
|
||||||
'≔': {label: '', type: 'void'},
|
'≔': {label: '', type: 'void'},
|
||||||
}}
|
}}
|
||||||
key={opPath}
|
key={opPath}
|
||||||
onChange={(event, value) => {
|
onChange={(event, value) => {
|
||||||
if ('.' === value) {
|
if ('≡' === value) {
|
||||||
patch({
|
patch({
|
||||||
op: 'remove',
|
op: 'remove',
|
||||||
path: opPath,
|
path: opPath,
|
||||||
|
@ -259,7 +259,7 @@ const Expression = ({
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
path={opPath}
|
path={opPath}
|
||||||
value={expressionValue ? '≔' : '.'}
|
value={expressionValue ? '≔' : '≡'}
|
||||||
/>,
|
/>,
|
||||||
);
|
);
|
||||||
if (expressionValue) {
|
if (expressionValue) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user