moneylog icon indicating copy to clipboard operation
moneylog copied to clipboard

Remover itens do array em vez de redefini-lo

Open aureliojargas opened this issue 5 years ago • 0 comments

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.

aureliojargas avatar Apr 18 '19 05:04 aureliojargas