mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
Merge branch 'fix/appbuilder-stability-and-ui' of https://github.com/ToolJet/ToolJet into fix/appbuilder-stability-and-ui
This commit is contained in:
commit
ac8fd49e00
4 changed files with 6 additions and 4 deletions
|
|
@ -46,7 +46,7 @@ export const BoxShadow = ({ value, onChange, cyLabel }) => {
|
|||
setDebouncedShadow(newValue);
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
}, [value]);
|
||||
|
||||
useEffect(() => {
|
||||
if (boxShadow !== debouncedShadow) {
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ export const Icon = ({ value, onChange, onVisibilityChange, styleDefinition, com
|
|||
color: 'var(--slate12)',
|
||||
}}
|
||||
>
|
||||
{value}
|
||||
{String(value)}
|
||||
</div>
|
||||
<Visibility
|
||||
value={value}
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@ export const ColorPicker = function ({
|
|||
>
|
||||
<SketchPicker color={color} onChangeComplete={handleColorChange} />
|
||||
</div>
|
||||
<div className="comment-overlay" onClick={() => setShowColorPicker(false)}></div>
|
||||
<div onClick={() => setShowColorPicker(false)}></div>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -522,7 +522,9 @@ function executeActionWithDebounce(_ref, event, mode, customVariables) {
|
|||
}
|
||||
switch (event.actionId) {
|
||||
case 'show-alert': {
|
||||
const message = resolveReferences(event.message, undefined, customVariables);
|
||||
let message = resolveReferences(event.message, undefined, customVariables);
|
||||
if (typeof message === 'object') message = JSON.stringify(message);
|
||||
|
||||
switch (event.alertType) {
|
||||
case 'success':
|
||||
case 'error':
|
||||
|
|
|
|||
Loading…
Reference in a new issue