Runs format script
This commit is contained in:
1 parent
bc88fd0a04
commit
7be60b47f1
18 files changed
+180
-80
No files matched your search
@@ -7,7 +7,7 @@ export const Info = (props: {
|
||||
withSpacer?: boolean;
|
||||
lineThrough?: boolean;
|
||||
}) => {
|
||||
if (!props.description || props.description=="") return null;
|
||||
if (!props.description || props.description === "") return null;
|
||||
return (
|
||||
<>
|
||||
{props.withSpacer && <Spacer />}
|
||||
|
||||
@@ -90,7 +90,6 @@ export function LocationInfo(props: { calEvent: CalendarEvent; t: TFunction }) {
|
||||
style={{ color: "#3E3E3E" }}
|
||||
rel="noreferrer">
|
||||
Google <LinkIcon />
|
||||
|
||||
</a>
|
||||
}
|
||||
/>
|
||||
|
||||
@@ -5,12 +5,16 @@ export function ManageLink(props: { calEvent: CalendarEvent; attendee: Person })
|
||||
// Only the original attendee can make changes to the event
|
||||
// Guests cannot
|
||||
const t = props.attendee.language.translate;
|
||||
if(props.attendee.email === props.calEvent.attendees[0].email || props.calEvent.organizer.email === props.attendee.email ){
|
||||
if (
|
||||
props.attendee.email === props.calEvent.attendees[0].email ||
|
||||
props.calEvent.organizer.email === props.attendee.email
|
||||
) {
|
||||
return (
|
||||
<div
|
||||
style={{
|
||||
fontFamily: "Roboto, Helvetica, sans-serif",
|
||||
fontSize: "16px", fontWeight: 500,
|
||||
fontSize: "16px",
|
||||
fontWeight: 500,
|
||||
lineHeight: "0px",
|
||||
textAlign: "left",
|
||||
color: "#3e3e3e",
|
||||
@@ -26,7 +30,7 @@ export function ManageLink(props: { calEvent: CalendarEvent; attendee: Person })
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
// Dont have the rights to the manage link
|
||||
return null
|
||||
|
||||
// Dont have the rights to the manage link
|
||||
return null;
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
import { TFunction } from "next-i18next";
|
||||
|
||||
import { renderEmail } from "../";
|
||||
|
||||
import BaseEmail from "./_base-email";
|
||||
|
||||
export type PasswordReset = {
|
||||
|
||||
Reference in new issue
Block a user