Skip to content

Commit

Permalink
refactor: minor improvements to cloudSyncAnnouncement logic
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-a-pelegrino committed Oct 29, 2024
1 parent e410aa3 commit e4802ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion apps/meteor/client/components/Page/PageHeaderNoShadow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const PageHeaderNoShadow = ({ children = undefined, title, onClickBack, ...props
useDocumentTitle(typeof title === 'string' ? title : undefined);

return (
<Box is='header' borderBlockEndWidth='default' pb={8} {...props}>
<Box is='header' borderBlockEndWidth='default' pb={8} borderBlockEndColor='transparent' {...props}>
<Box
height='100%'
marginInline={24}
Expand Down
2 changes: 0 additions & 2 deletions apps/meteor/ee/server/api/licenses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ API.v1.addRoute(
if (typeof cloudSyncAnnouncementSetting?.value === 'string') {
cloudSyncAnnouncement = JSON.parse(cloudSyncAnnouncementSetting.value);
}

cloudSyncAnnouncement = undefined;
} catch (error) {
console.error('Unable to parse Cloud_Sync_Announcement_Payload');
}
Expand Down

0 comments on commit e4802ed

Please sign in to comment.