feat: add column partner fee in detail product role admin

This commit is contained in:
2022-05-24 00:59:01 +07:00
parent 6598dff0ba
commit cd3d61d5f5
2 changed files with 196 additions and 185 deletions

View File

@@ -136,6 +136,7 @@ export const ProductComponent = observer((props) => {
{
title: "Tindakan",
key: "action",
fixed: 'right',
render: (text, record) => (
<Button
onClick={async () => {
@@ -303,6 +304,7 @@ export const ProductComponent = observer((props) => {
textAlign: "center",
width: store.ui.mediaQuery.isMobile ? 250 : "",
}}
scroll={role === "Admin Partner" ? false : { x: 1300 }}
columns={columns}
dataSource={
store.authentication.userData.role === "Admin Partner"