mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
fix: Disable paused projects (#46503)
This commit is contained in:
1 parent
aeca8c9936
commit
3260660daa
2 files changed
+15
-5
No files matched your search
@@ -21,6 +21,7 @@ export interface ComboBoxOption {
|
||||
id: string
|
||||
value: string
|
||||
displayName: string
|
||||
disabled?: boolean
|
||||
}
|
||||
|
||||
export function ComboBox<Opt extends ComboBoxOption>({
|
||||
@@ -131,6 +132,7 @@ export function ComboBox<Opt extends ComboBoxOption>({
|
||||
{options.map((option) => (
|
||||
<CommandItem
|
||||
key={option.id}
|
||||
disabled={option.disabled}
|
||||
value={option.value}
|
||||
onSelect={(selectedValue: string) => {
|
||||
setOpen(false)
|
||||
|
||||
Reference in new issue
Block a user