Commit efc20c59 authored by Filip Hujer's avatar Filip Hujer Committed by cizek
Browse files

Small changes in event and locations

parent 5dd1ee72
......@@ -11,6 +11,7 @@ import {
Container,
ActionIcon,
Button,
Stack
} from "@mantine/core";
import {
BuildingStore,
......@@ -18,7 +19,7 @@ import {
ChevronUp,
Edit,
Search,
Selector,
Selector, Stack3,
Trash,
} from "tabler-icons-react";
import { deleteEvent, getEvents } from "./event-api";
......@@ -247,7 +248,7 @@ export const Events = () => {
{user !== undefined && (
<td>
{user.userRole == "MANAGER" && (
<Group position="center">
<Stack align="center">
<ActionIcon
variant="hover"
onClick={() => navigate(`/stands/list/events/${row.id}`)}
......@@ -266,7 +267,7 @@ export const Events = () => {
onClick={() => openConfirmDialog({ id: row.id })}
/>
</ActionIcon>
</Group>
</Stack>
)}
{user.userRole == "SELLER" && (
<Group position="center">
......
......@@ -16,7 +16,7 @@ export const locationColumns: TableColumn<Location>[] = [
{
key: "price",
label: "Price",
render: ({ priceInCents }) => `$ ${(priceInCents / 1000).toFixed(2)}`,
render: ({ priceInCents }) => `${(priceInCents / 100).toFixed(2)}`,
},
{
key: "actions",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment