wip fix prop instance
This commit is contained in:
parent
b9911efc0d
commit
8308622901
|
|
@ -218,13 +218,14 @@ export const EdSidePropInstance: FC<{ meta: IMeta }> = ({ meta }) => {
|
||||||
) {
|
) {
|
||||||
hasCode = true;
|
hasCode = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type === "file" && !!value && !value.startsWith("siteurl("))
|
|
||||||
hasCode = true;
|
|
||||||
|
|
||||||
if (value.length > 100) {
|
if (value.length > 100) {
|
||||||
hasCode = true;
|
hasCode = true;
|
||||||
}
|
}
|
||||||
|
if (type === "file") {
|
||||||
|
if (!!value && !value.startsWith("siteurl(")) hasCode = true;
|
||||||
|
else hasCode = false
|
||||||
|
}
|
||||||
|
|
||||||
const labelClick = (e: MouseEvent<HTMLDivElement>) => {
|
const labelClick = (e: MouseEvent<HTMLDivElement>) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue