Merge branch 'develop' into 'devops-staging'
Bug Fixing See merge request empatnusabangsa/ppob/ppob-frontend!97
This commit is contained in:
commit
54149a5e0c
|
@ -5,7 +5,6 @@ import {
|
|||
Input,
|
||||
message,
|
||||
Modal,
|
||||
Select,
|
||||
Space,
|
||||
Table,
|
||||
List,
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
import React, { useState } from "react";
|
||||
import React from "react";
|
||||
import {
|
||||
Form,
|
||||
Input,
|
||||
Modal,
|
||||
Select,
|
||||
InputNumber,
|
||||
Row,
|
||||
Title,
|
||||
Col,
|
||||
|
|
|
@ -80,13 +80,19 @@ export const Konfirmasi = observer(() => {
|
|||
title: "Foto Identitas",
|
||||
dataIndex: ["user_detail", "image_identity"],
|
||||
key: "user_detail.image_identity",
|
||||
render: (text, record) => (
|
||||
<Image
|
||||
src={`${appConfig.apiUrl}/config/image/${text}`}
|
||||
style={{ width: "5vw" }}
|
||||
alt={record.image_identity}
|
||||
/>
|
||||
),
|
||||
render: (text, record) =>
|
||||
record.user_detail?.image_identity ? (
|
||||
<Image
|
||||
src={`${appConfig.apiUrl}/config/image/${text}`}
|
||||
style={{ width: "5vw" }}
|
||||
alt={record.image_identity}
|
||||
/>
|
||||
) : (
|
||||
<Image
|
||||
src="https://st4.depositphotos.com/14953852/24787/v/600/depositphotos_247872612-stock-illustration-no-image-available-icon-vector.jpg"
|
||||
style={{ width: "5vw" }}
|
||||
/>
|
||||
),
|
||||
},
|
||||
{
|
||||
title: "Foto Toko",
|
||||
|
@ -378,7 +384,7 @@ export const Konfirmasi = observer(() => {
|
|||
>
|
||||
Foto Identitas
|
||||
</Button>
|
||||
{item.user_detail?.image_store !== "\"\"" ? (
|
||||
{item.user_detail?.image_store !== '""' ? (
|
||||
<Button
|
||||
style={
|
||||
item.is_active === true
|
||||
|
|
|
@ -5,15 +5,12 @@ import {
|
|||
Col,
|
||||
Divider,
|
||||
Image,
|
||||
Input,
|
||||
List,
|
||||
message,
|
||||
DatePicker,
|
||||
Row,
|
||||
Table,
|
||||
Tag,
|
||||
Typography,
|
||||
Select,
|
||||
Form,
|
||||
Modal,
|
||||
} from "antd";
|
||||
|
|
|
@ -8,8 +8,6 @@ import {LINKS} from "../../routes/app";
|
|||
import {CategoryComponent} from "../../component/CategoryComponent";
|
||||
import {ModalLoaderContext} from "../../utils/modal";
|
||||
|
||||
const {TabPane} = Tabs;
|
||||
const {Search} = Input;
|
||||
|
||||
export const Category = observer(() => {
|
||||
const store = useStore();
|
||||
|
|
Loading…
Reference in New Issue
Block a user