File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 6
6
7
7
import { useEffect , useState } from "react" ;
8
8
import Alert from "./components/Alert" ;
9
- import { getGitpodService } from "./service/service" ;
9
+ import { getGitpodService , gitpodHostUrl } from "./service/service" ;
10
10
11
11
const KEY_APP_NOTIFICATIONS = "gitpod-app-notifications" ;
12
12
@@ -36,6 +36,7 @@ export function AppNotifications() {
36
36
} ;
37
37
38
38
const topNotification = notifications [ 0 ] ;
39
+
39
40
if ( topNotification === undefined ) {
40
41
return null ;
41
42
}
@@ -55,6 +56,9 @@ export function AppNotifications() {
55
56
className = "flex rounded mb-2 w-full"
56
57
>
57
58
< div > { topNotification } </ div >
59
+ < a className = "gp-link hover:text-gray-600" href = { `${ gitpodHostUrl } billing` } >
60
+ Manage billing.
61
+ </ a > { " " }
58
62
</ Alert >
59
63
</ div >
60
64
) ;
Original file line number Diff line number Diff line change @@ -2262,6 +2262,9 @@ export class GitpodServerEEImpl extends GitpodServerImpl {
2262
2262
}
2263
2263
case "team" : {
2264
2264
teamOrUser = await this . teamDB . findTeamById ( limit . attributionId . teamId ) ;
2265
+ if ( teamOrUser ) {
2266
+ result . push ( teamOrUser ?. slug ) ;
2267
+ }
2265
2268
break ;
2266
2269
}
2267
2270
}
You can’t perform that action at this time.
0 commit comments