Allow to Edit Cell in Detail Sidebar

Summary: This diff adds edit button to detail sidebar to allow user to edit column he/she wants to

Reviewed By: jknoxville

Differential Revision: D21788243

fbshipit-source-id: 4bdcef62114d5a6282ba85bc2bd1b5d039322e50
This commit is contained in:
Chaiwat Ekkaewnumchai
2020-06-02 01:44:21 -07:00
committed by Facebook GitHub Bot
parent 5a2221e6cd
commit b57612a116
2 changed files with 132 additions and 16 deletions

View File

@@ -1127,6 +1127,7 @@ export default class DatabasesPlugin extends FlipperPlugin<
<DatabaseDetailSidebar
columnLabels={page.columns}
columnValues={page.rows[page.highlightedRows[0]]}
onSave={this.onRowEdited.bind(this)}
/>
)}
</FlexRow>