Skip to content
This repository was archived by the owner on Oct 30, 2025. It is now read-only.

Commit 9ca59cb

Browse files
authored
Merge pull request #103 from RonLek/fix_webhook_watchers
[FIX] Configure webhook button and inconsistent repository watchers
2 parents 4334e15 + d90b233 commit 9ca59cb

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

client/src/components/ActivityPane/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,9 @@ export default function ActivityPane(props) {
9797
}
9898
} catch (error) {
9999
console.log(error);
100+
setIsRepoOwner(false);
100101
}
101-
}
102+
};
102103
checkIfUserIsOwner();
103104
// eslint-disable-next-line
104105
}, [props.location.pathname]);
@@ -143,7 +144,7 @@ export default function ActivityPane(props) {
143144

144145
return (
145146
<div className="activity-pane-wrapper">
146-
<hr className="activity-pane-divider"/>
147+
<hr className="activity-pane-divider" />
147148
<div className="activity-pane-header">
148149
<span>Activity </span>
149150
{authState.isLoggedIn && isRepoOwner && (

client/src/components/RoomInfo/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export default function RoomInfo(props) {
270270
target="_blank"
271271
rel="noreferrer"
272272
>
273-
<strong>{repoInfo.watchers_count}</strong> watchers
273+
<strong>{repoInfo.subscribers_count}</strong> watchers
274274
</a>
275275
</span>
276276
<span>

0 commit comments

Comments
 (0)