Skip to content

Commit

Permalink
fixed connect button not appearing if not admin
Browse files Browse the repository at this point in the history
  • Loading branch information
opaduchak committed Dec 27, 2024
1 parent 8ce2773 commit 0a3ddf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/packages/addons-service/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default class Provider {
if (this.node?.userHasAdminPermission) {
return true;
}
if (!this.configuredAddons) {
if (!this.configuredAddons || this.configuredAddons.length === 0) {
return true;
}
if (!this.userReference) {
Expand Down

0 comments on commit 0a3ddf8

Please sign in to comment.