Skip to content

Commit

Permalink
Merge pull request #980 from Flyga-M/fix/permission-status-message
Browse files Browse the repository at this point in the history
Fix: permission status message
  • Loading branch information
dlamkins authored Sep 13, 2024
2 parents 1180ed7 + d53c0a3 commit 484154a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private void UpdatePermissionList() {
}

private void UpdateStatus() {
if (Model.Enabled) {
if (this.Model.Enabled && this.Model.Manifest.ApiPermissions.Any()) {
this.View.SetDetails(Strings.GameServices.ModulesService.ApiPermission_NotEditable,
TitledDetailView.DetailLevel.Info);
} else {
Expand Down

0 comments on commit 484154a

Please sign in to comment.