Apply Prettier formatting
This commit is contained in:
parent
64eb2e0f99
commit
d80df8e3c5
1 changed files with 3 additions and 2 deletions
|
|
@ -35,7 +35,8 @@ export default function InputGlobalComponent({
|
||||||
if (data)
|
if (data)
|
||||||
if (
|
if (
|
||||||
((globalVariablesEntries &&
|
((globalVariablesEntries &&
|
||||||
!globalVariablesEntries.includes(data.value))||!globalVariablesEntries) &&
|
!globalVariablesEntries.includes(data.value)) ||
|
||||||
|
!globalVariablesEntries) &&
|
||||||
data.load_from_db
|
data.load_from_db
|
||||||
) {
|
) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|
@ -43,7 +44,7 @@ export default function InputGlobalComponent({
|
||||||
setDb(false);
|
setDb(false);
|
||||||
}, 100);
|
}, 100);
|
||||||
}
|
}
|
||||||
}, [globalVariablesEntries,data]);
|
}, [globalVariablesEntries, data]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!data.value && data.display_name) {
|
if (!data.value && data.display_name) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue