fix
This commit is contained in:
parent
273bcf451e
commit
f08acfd7fa
|
|
@ -186,7 +186,11 @@ export const TableEdit: FC<{
|
||||||
css`
|
css`
|
||||||
height: 1px;
|
height: 1px;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
table-layout: auto; /* Kolom akan menyesuaikan konten */
|
table-layout: auto;
|
||||||
|
|
||||||
|
.field {
|
||||||
|
padding: 0px 0px 0px 10px;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -468,10 +468,10 @@ export const genTableEdit = async (
|
||||||
{
|
{
|
||||||
id: createId(),
|
id: createId(),
|
||||||
adv: {
|
adv: {
|
||||||
js: '<div {...props} className={cx(props.className, "")}>\n Add\n</div>',
|
js: '<div {...props} className={cx(props.className, "")}>\n { lang.t("Add") }\n</div>',
|
||||||
css: "",
|
css: "",
|
||||||
jsBuilt:
|
jsBuilt:
|
||||||
'render(/* @__PURE__ */ React.createElement("div", { ...props, className: cx(props.className, "") }, "Add"));\n',
|
'render(/* @__PURE__ */ React.createElement("div", { ...props, className: cx(props.className, "") }, lang.t("Add")));\n',
|
||||||
},
|
},
|
||||||
dim: { h: "full", w: "full" },
|
dim: { h: "full", w: "full" },
|
||||||
name: "new_item",
|
name: "new_item",
|
||||||
|
|
|
||||||
|
|
@ -641,7 +641,6 @@ export const TableList: FC<TableListProp> = ({
|
||||||
"c-flex c-items-center c-cursor-pointer"
|
"c-flex c-items-center c-cursor-pointer"
|
||||||
)}
|
)}
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
console.log(props.row);
|
|
||||||
if (!local.pk) return;
|
if (!local.pk) return;
|
||||||
if (props?.row?.__children?.length > 0) {
|
if (props?.row?.__children?.length > 0) {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ export const langEn = {
|
||||||
Search: "Search",
|
Search: "Search",
|
||||||
"Add Another": "Add Another",
|
"Add Another": "Add Another",
|
||||||
"Mark as": "Mark as ",
|
"Mark as": "Mark as ",
|
||||||
|
"Add": "Add",
|
||||||
"Remove this file ?": "Remove this file ?",
|
"Remove this file ?": "Remove this file ?",
|
||||||
"Upload Multiple Files":"Upload Multiple Files",
|
"Upload Multiple Files":"Upload Multiple Files",
|
||||||
"Back To List": "Back To List",
|
"Back To List": "Back To List",
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ export const langId: Record<LangKeyword, string> = {
|
||||||
Search: "Cari",
|
Search: "Cari",
|
||||||
"Add Another": "Tambah Baru",
|
"Add Another": "Tambah Baru",
|
||||||
"Mark as": "Tandai sebagai",
|
"Mark as": "Tandai sebagai",
|
||||||
|
"Add": "Tambah",
|
||||||
"Remove this file ?": "Hapus file ini ?",
|
"Remove this file ?": "Hapus file ini ?",
|
||||||
"Upload Multiple Files": "Unggah Beberapa File",
|
"Upload Multiple Files": "Unggah Beberapa File",
|
||||||
"Back To List": "Kembali ke List",
|
"Back To List": "Kembali ke List",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue