mirror of
https://github.com/supabase/supabase.git
synced 2026-10-07 18:35:07 +03:00
Small update
This commit is contained in:
1 parent
f186d00312
commit
135694fce4
1 file changed
+14
-9
@@ -357,15 +357,20 @@ const TableGridEditor = ({
|
||||
/>
|
||||
)}
|
||||
{(isTableSelected || isViewSelected) && (
|
||||
<div>
|
||||
<TwoOptionToggle
|
||||
width={75}
|
||||
options={['definition', 'data']}
|
||||
activeOption={selectedView}
|
||||
borderOverride="border-gray-500"
|
||||
onClickOption={setSelectedView}
|
||||
/>
|
||||
</div>
|
||||
<>
|
||||
{canEditViaTableEditor && (
|
||||
<div className="h-[20px] w-px border-r border-scale-600"></div>
|
||||
)}
|
||||
<div>
|
||||
<TwoOptionToggle
|
||||
width={75}
|
||||
options={['definition', 'data']}
|
||||
activeOption={selectedView}
|
||||
borderOverride="border-gray-500"
|
||||
onClickOption={setSelectedView}
|
||||
/>
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
</>
|
||||
) : null
|
||||
|
||||
Reference in new issue
Block a user