diff --git a/client/src/components/cards/Card/ProjectContent.module.scss b/client/src/components/cards/Card/ProjectContent.module.scss index 48853615..72503ee2 100644 --- a/client/src/components/cards/Card/ProjectContent.module.scss +++ b/client/src/components/cards/Card/ProjectContent.module.scss @@ -101,6 +101,12 @@ .wrapper { padding: 6px 8px 0; + + &:after { + clear: both; + content: ""; + display: table; + } } :global(.card):hover { diff --git a/server/api/helpers/actions/create-one.js b/server/api/helpers/actions/create-one.js index ed35b5e7..ba1e6494 100644 --- a/server/api/helpers/actions/create-one.js +++ b/server/api/helpers/actions/create-one.js @@ -144,7 +144,7 @@ module.exports = { if (Action.INTERNAL_NOTIFIABLE_TYPES.includes(action.type)) { if (Action.PERSONAL_NOTIFIABLE_TYPES.includes(action.type)) { - if (values.user !== action.data.user.id) { + if (values.user.id !== action.data.user.id) { await sails.helpers.notifications.createOne.with({ values: { action,