Skip to content

Commit

Permalink
chore: change scope type descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Jul 12, 2024
1 parent 6c43f90 commit 2569a04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/Scopes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const Scopes: React.FC<ScopesProps> = ({
>
<ScopeGroupIcon className="mb-2" />
<p className="text-sm font-medium">{scopeGroupTitle[sg]}</p>
<p className="text-[10px] text-muted-foreground text-nowrap">
<p className="text-xs text-muted-foreground text-nowrap">
{scopeGroupDescriptions[sg]}
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ export const scopeGroupTitle: Record<ScopeGroupType, string> = {
};

export const scopeGroupDescriptions: Record<ScopeGroupType, string> = {
[SCOPE_GROUP_FULL_ACCESS]: "Pay and create invoices",
[SCOPE_GROUP_READ_ONLY]: "Only create invoices",
[SCOPE_GROUP_FULL_ACCESS]: "Complete wallet control",
[SCOPE_GROUP_READ_ONLY]: "Only view wallet info",
[SCOPE_GROUP_CUSTOM]: "Define permissions",
};

Expand Down

0 comments on commit 2569a04

Please sign in to comment.