little updatE
This commit is contained in:
parent
30f2a97a68
commit
60140c5132
|
|
@ -69,7 +69,6 @@ export default function StaticPageBuilderEdit() {
|
|||
setValue("slug", data?.slug);
|
||||
setValue("description", data?.description);
|
||||
setValue("htmlBody", addPreCode(data?.htmlBody));
|
||||
console.log("asdasd", addPreCode(data?.htmlBody));
|
||||
};
|
||||
|
||||
const addPreCode = (htmlString: string): string => {
|
||||
|
|
|
|||
|
|
@ -287,7 +287,6 @@ export default function MagazineTable() {
|
|||
e.target.value === ""
|
||||
? ""
|
||||
: setSelectedCategories(e.target.value);
|
||||
console.log("eeess", e.target.value);
|
||||
}}
|
||||
>
|
||||
{categories?.map((category: any) => (
|
||||
|
|
|
|||
|
|
@ -242,7 +242,6 @@ export default function CategoriesTable(props: { triggerRefresh: boolean }) {
|
|||
|
||||
const findParent = (parent: number | undefined) => {
|
||||
const finded = listCategory?.find((a: any) => a.id === parent);
|
||||
console.log("listt", finded);
|
||||
if (finded) {
|
||||
setSelectedParent(finded);
|
||||
}
|
||||
|
|
@ -259,7 +258,6 @@ export default function CategoriesTable(props: { triggerRefresh: boolean }) {
|
|||
|
||||
const findRelated = (parent: number | string) => {
|
||||
const filter = listCategory?.filter((a) => a.id == parent);
|
||||
console.log("filter", filter[0]?.label);
|
||||
return filter[0]?.label;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -139,7 +139,6 @@ export default function MappingUserLevel() {
|
|||
console.log("dataa", data);
|
||||
// for (const element of data) {
|
||||
// if (element.aliasName === "satker") {
|
||||
// console.log("namanya", element.id);
|
||||
// const request = {
|
||||
// aliasName: element.aliasName,
|
||||
// levelNumber: 2,
|
||||
|
|
@ -147,7 +146,6 @@ export default function MappingUserLevel() {
|
|||
// parentLevelId: 692,
|
||||
// provinceId: 0,
|
||||
// };
|
||||
// console.log("reqq", request);
|
||||
// const response = await editUserLevel(request, element.id);
|
||||
// if (response?.error) {
|
||||
// break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue