moneylog
moneylog copied to clipboard
Remover itens do array em vez de redefini-lo
Na configuração da versão online, em https://github.com/aureliojargas/moneylog/blob/master/public/config.js, é feito assim:
// Disable drivers that do not make sense on this online version
ml.storage.availableDrivers = [
// 'html',
// 'filesystem',
'browser',
'googledrive'
];
Funciona, mas a cada driver novo eu terei que adicionar ele aqui também. Melhor seria somente remover html
e filesystem
desse array, em vez de redefini-lo.