Skip to content

Commit a27170b

Browse files
committed
🐛 fixed issue with fetching the projects for a team
1 parent 921bf91 commit a27170b

4 files changed

Lines changed: 6261 additions & 5766 deletions

File tree

admin/src/actions/team.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { getSettings } from './store';
33
export async function getUserTeam(userId) {
44
const { host, token } = await getSettings();
55

6-
return fetch(`${host}/team/user/${userId}`, {
6+
return fetch(`${host}/team`, {
77
method: 'GET',
88
headers: new Headers({
99
accept: 'application/json',

admin/src/pages/Dashboard.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ function Dashboard() {
233233
closeLabel="Close message"
234234
title="Cannot authenticate to Chartbrew"
235235
action={(
236-
<Link to={`/settings/${PLUGIN_ID}`}>Click here to configure your Chartbrew connection</Link>
236+
<div><Link to={`/settings/${PLUGIN_ID}`}>Click here to configure your Chartbrew connection</Link></div>
237237
)}
238238
>
239239
{'In order to access your Chartbrew dashboards, you must first set up the credentials in the settings menu. Click the link below to get started. '}

0 commit comments

Comments
 (0)