houdini/app/javascript/legacy/super-admin/fullcontact-table.js

12 lines
300 B
JavaScript
Raw Normal View History

2019-11-06 20:36:28 +00:00
// License: LGPL-3.0-or-later
const h = require('flimflam/h')
const searchTable = require('../components/search-table')
const row = (data) => {
const results = JSON.stringify(data, null, 2)
return h('pre', results)
}
module.exports = state => searchTable(state, [], row, 'Search by email')