Bug Fixing
This commit is contained in:
@@ -284,21 +284,11 @@ export const ProductComponent = observer((props) => {
|
||||
<div>
|
||||
{store.ui.mediaQuery.isDesktop && (
|
||||
<Table
|
||||
style={
|
||||
// store.authentication.userData.role === "Admin"
|
||||
// ? {
|
||||
{
|
||||
cursor: "pointer",
|
||||
textAlign: "center",
|
||||
width: store.ui.mediaQuery.isMobile ? 250 : "",
|
||||
}
|
||||
|
||||
// }
|
||||
// : {
|
||||
// textAlign: "center",
|
||||
// width: store.ui.mediaQuery.isMobile ? 250 : "",
|
||||
// }
|
||||
}
|
||||
style={{
|
||||
cursor: "pointer",
|
||||
textAlign: "center",
|
||||
width: store.ui.mediaQuery.isMobile ? 250 : "",
|
||||
}}
|
||||
columns={columns}
|
||||
dataSource={
|
||||
store.authentication.userData.role === "Admin Partner"
|
||||
|
||||
Reference in New Issue
Block a user