File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
src/routes/(console)/project-[region]-[project]/databases/database-[database]/(suggestions) Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 635635 try {
636636 if (VARS .MOCK_AI_SUGGESTIONS ) {
637637 /* animation */
638- await sleep (NOTIFICATION_AND_MOCK_DELAY * 100 );
638+ await sleep (NOTIFICATION_AND_MOCK_DELAY );
639639 suggestedColumns = mockSuggestions ;
640640 } else {
641641 suggestedColumns = (await sdk
17721772 }
17731773 }}>
17741774 {#if ! column .custom && row }
1775- <span class ="u-trim fake-cell" >{row [column .id ] ?? ' ' }</span >
1775+ {@const rowData = row [column .id ]}
1776+ {@const isNullOrUndefined = rowData === null || typeof rowData === ' undefined' }
1777+ <span class =" u-trim suggestions-empty-fake-cell" >
1778+ {#if isNullOrUndefined }
1779+ <Badge variant =" secondary" content =" NULL" size =" xs" />
1780+ {:else }
1781+ {rowData }
1782+ {/if }
1783+ </span >
17761784 {/if }
17771785 </button >
17781786{/ snippet }
19901998 height : 100% ;
19911999 cursor : pointer ;
19922000
1993- & :global (.fake-cell ) {
2001+ & :global (.suggestions-empty- fake-cell ) {
19942002 min-height : 40px ;
19952003 position : relative ;
19962004 align-items : center ;
You can’t perform that action at this time.
0 commit comments