Fix 3box replacement for MV3 (#15851)
* refactor backup controller to return the data to be backed up and do the actual backup in the UI. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Move export-utils to ui/helpers as it's only used in the UI now. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * use context to call event tracker. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> * Don't make backup function inline. Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com> Signed-off-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>feature/default_network_editable
parent
0bc1eeaf37
commit
7b94ac5eca
@ -1,4 +1,4 @@ |
||||
import { getRandomFileName } from '../../ui/helpers/utils/util'; |
||||
import { getRandomFileName } from './util'; |
||||
|
||||
export function exportAsFile(filename, data, type = 'text/csv') { |
||||
// eslint-disable-next-line no-param-reassign
|
Loading…
Reference in new issue