fix: Adding yearly title to preview page (#16441)
* initial commit * added year tag to the occurences field * Revert yarn.lock --------- Co-authored-by: Amit Sharma <[email protected]>
This commit is contained in:
1 parent
42953548b6
commit
b8d67c5a41
2 files changed
+1
-3
No files matched your search
@@ -10,7 +10,7 @@ export const getRecurringFreq = ({
|
||||
t: TFunction;
|
||||
recurringEvent: RecurringEvent;
|
||||
}): string => {
|
||||
if (recurringEvent.interval && recurringEvent.freq) {
|
||||
if (recurringEvent.interval && recurringEvent.freq >= 0) {
|
||||
return t("every_for_freq", {
|
||||
freq: `${recurringEvent.interval > 1 ? recurringEvent.interval : ""} ${t(
|
||||
Frequency[recurringEvent.freq].toString().toLowerCase(),
|
||||
|
||||
@@ -58,8 +58,6 @@ model Host {
|
||||
@@index([eventTypeId])
|
||||
}
|
||||
|
||||
|
||||
|
||||
model EventType {
|
||||
id Int @id @default(autoincrement())
|
||||
/// @zod.min(1)
|
||||
|
||||
Reference in new issue
Block a user