-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Remove grey bar for TableElement component when metadata
is empty
#16054
Conversation
Codecov Report
@@ Coverage Diff @@
## master #16054 +/- ##
==========================================
- Coverage 76.79% 76.65% -0.14%
==========================================
Files 995 995
Lines 52876 52876
Branches 6720 6720
==========================================
- Hits 40606 40532 -74
- Misses 12044 12118 +74
Partials 226 226
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
🏷 2021.31 |
…/fix-metadata-showing
41ca9ff
to
1fed1fd
Compare
…pty (apache#16054) * create serialize json function * remove grey space with no metadata * remove console log (cherry picked from commit 11a2d4d)
…pty (apache#16054) * create serialize json function * remove grey space with no metadata * remove console log
…pty (apache#16054) * create serialize json function * remove grey space with no metadata * remove console log (cherry picked from commit 11a2d4d)
…pty (apache#16054) * create serialize json function * remove grey space with no metadata * remove console log
…pty (apache#16054) * create serialize json function * remove grey space with no metadata * remove console log (cherry picked from commit 11a2d4d)
…pty (apache#16054) * create serialize json function * remove grey space with no metadata * remove console log (cherry picked from commit d66ec6d)
SUMMARY
A small grey bar would appear above the schema definition for gsheet table. The reason being gsheets returns empty array
[]
which is causing the component to render. I've added a additional condition to check if the metadata array is empty.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:
After:
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION