fix shortlink logs

This commit is contained in:
Simon Larsen
2023-07-11 09:28:16 +01:00
parent 8d308b0a7c
commit d0cb4b5b17
2 changed files with 4 additions and 2 deletions

View File

@@ -135,7 +135,9 @@ const ExecutionLogsTable: FunctionComponent<ComponentProps> = (
text={OnCallDutyPolicyStatus.Scheduled}
/>
);
} else if (item['status'] === OnCallDutyPolicyStatus.Executing) {
} else if (
item['status'] === OnCallDutyPolicyStatus.Executing
) {
return (
<Pill
color={Yellow}

View File

@@ -30,7 +30,7 @@ import URL from 'Common/Types/API/URL';
tableDescription:
'Short links are used to redirect users to a specific long link in OneUptime.',
})
export default class SmsLog extends BaseModel {
export default class ShortLink extends BaseModel {
@ColumnAccessControl({
create: [],
read: [],