fix: typo: form builder: Fetch Form -> Fetch From (#21635)

[skip ci]
This commit is contained in:
Sabu Siyad 2023-07-11 15:24:27 +05:30 committed by GitHub
parent d363452b32
commit 9cdebcfca7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,12 +33,12 @@ let doctype_df = computed(() => {
}));
let options = [{ label: __("Select DocType"), value: "" }, ...doctypes.value];
return { fieldtype: "Select", label: __("Fetch Form"), options };
return { fieldtype: "Select", label: __("Fetch From"), options };
});
let field_df = computedAsync(async () => {
let options = [{ label: __("Select Field"), value: "" }];
let df = { fieldtype: "Select", label: __("Fetch Form"), options };
let df = { fieldtype: "Select", label: __("Fetch From"), options };
if (!doctype.value) return df;
let doctype_name = doctypes.value?.find(df => df.value == doctype.value).doctype_name;
if (!doctype_name) return df;