Fix index rendering
Summary: This hadn't been tested on any tables with indexes. It was using the wrong set of columns to index the rows. Fixed by using the right list. Reviewed By: danielbuechele Differential Revision: D15535864 fbshipit-source-id: 1842a0695715e947b7e28b59e65dcc1eb5b32695
This commit is contained in:
committed by
Facebook Github Bot
parent
2221090037
commit
076b52059e
@@ -444,7 +444,7 @@ export default class DatabasesPlugin extends FlipperPlugin<
|
|||||||
indexesColumns: event.indexesColumns,
|
indexesColumns: event.indexesColumns,
|
||||||
indexesValues: event.indexesValues.map(
|
indexesValues: event.indexesValues.map(
|
||||||
(row: Array<Value>, index: number) =>
|
(row: Array<Value>, index: number) =>
|
||||||
transformRow(event.columns, row, index),
|
transformRow(event.indexesColumns, row, index),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user