Dev #9

Merged
Horhik merged 7 commits from dev into master 2020-05-10 23:17:38 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit e634dfee2a - Show all commits

View file

@ -58,7 +58,7 @@ export const addNote = async words => {
const ankiData = await getAnkiData();
await console.log(ankiData);
const template = await ankiData.fieldList;
const deckId = store.getState().anki.selectedDeck.id;
const deckId = store.getState().anki.selectedDeck.deck.id;
const modelId = await ankiData.modelId;
console.log(template, deckId, modelId);
const settings = {

View file

@ -23,7 +23,7 @@ const StartScreen = props => {
props.getSavedData();
props.checkAnkiLanModelForExisting(props.modelName, props.modelList);
} else {
alert('Troubles');
console.log('Troubles with permissions');
props.requestAnkiPermission();
}
}, []);