Pull apart settings module
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import objectPath from 'object-path'
|
||||
import { Base64 } from 'js-base64'
|
||||
import { cycleDaysSortedByDate } from '../../db'
|
||||
import { getCycleDaysSortedByDate } from '../../db'
|
||||
import getColumnNamesForCsv from './get-csv-column-names'
|
||||
|
||||
export default function makeDataURI() {
|
||||
const cycleDaysSortedByDate = getCycleDaysSortedByDate()
|
||||
if (!cycleDaysSortedByDate.length) return null
|
||||
|
||||
const csv = transformToCsv(cycleDaysSortedByDate)
|
||||
|
||||
Reference in New Issue
Block a user