From 5d53f44fe8b897f0cd85351df3353b1ce2610a6c Mon Sep 17 00:00:00 2001 From: Maksim Eltyshev Date: Tue, 20 May 2025 00:06:51 +0200 Subject: [PATCH] fix: Add clearfix and missing id property --- client/src/components/cards/Card/ProjectContent.module.scss | 6 ++++++ server/api/helpers/actions/create-one.js | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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,