Skip to content

Commit

Permalink
release 1.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kortirso committed Mar 9, 2024
1 parent dd4019a commit 6bc4ee1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## Unreleased
## [1.7.3] - 2024-03-09
### Added
- admin page for rendering users
- rendering company users amount at admin page
Expand Down
16 changes: 2 additions & 14 deletions app/javascript/components/Company/CompanyConfiguration.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,22 +63,9 @@ export const CompanyConfiguration = ({
excludeRules: []
});

const webhookSources = useMemo(() => {
return pageState.webhooks.map((item) => item.source);
}, [pageState.webhooks]);

const currentWebhookNotification = useMemo(() => {
return pageState.notifications.find((element) => element.uuid === pageState.webhookTargetUuid);
}, [pageState.webhookTargetUuid]);

const notificationSources = useMemo(() => {
return pageState.notifications.reduce((acc, item) => {
if (acc[item.notification_type]) acc[item.notification_type].push(item.source);
else acc[item.notification_type] = [item.source];

return acc;
}, {});
}, [pageState.notifications]);
}, [pageState.notifications, pageState.webhookTargetUuid]);

const onIgnoreSave = async () => {
const result = await apiRequest({
Expand Down Expand Up @@ -299,6 +286,7 @@ export const CompanyConfiguration = ({
else setPageState({
...pageState,
notifications: pageState.notifications.filter((item) => item.uuid !== uuid),
webhooks: pageState.webhooks.filter((item) => item.webhookable_uuid !== uuid),
errors: []
});
};
Expand Down
2 changes: 1 addition & 1 deletion app/views/controllers/shared/_footer.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<footer class="bg-zinc-800 text-white flex flex-col-reverse sm:flex-row justify-between p-8">
<div>
<span class="copyright">&copy;</span> 2024 PullKeeper, v1.7.2
<span class="copyright">&copy;</span> 2024 PullKeeper, v1.7.3
</div>
<div class="flex flex-wrap grid-x gap-8 mb-8 sm:mb-0">
<a href="https://t.me/kortirso" target="_blank" rel="noopener noreferrer">Support in Telegram</a>
Expand Down

0 comments on commit 6bc4ee1

Please sign in to comment.