Skip to content

Commit

Permalink
fix: update no policies warning to 0 results (supabase#27631)
Browse files Browse the repository at this point in the history
  • Loading branch information
w3b6x9 committed Aug 6, 2024
1 parent b97f3a3 commit 1378ef2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ const PolicyTableRow = ({
Row Level Security is enabled for this table, but no policies are set
</AlertTitle_Shadcn_>
<AlertDescription_Shadcn_>
Select queries will return an{' '}
<span className="text-foreground underline">empty array</span> of results.
Select queries may return 0 results.
</AlertDescription_Shadcn_>
</Alert_Shadcn_>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,7 @@ const GridHeaderActions = ({ table }: GridHeaderActionsProps) => {
>
<div className="text-xs text-foreground p-1 leading-relaxed">
<p>RLS is enabled for this table, but no policies are set. </p>
<p>
Select queries will return an <u>empty array</u> of results.
</p>
<p>Select queries may return 0 results.</p>
</div>
</div>
</Tooltip.Content>
Expand Down

0 comments on commit 1378ef2

Please sign in to comment.