Added navigation drawer with list of collections. Closes #71
This commit is contained in:
@ -10,6 +10,10 @@ export function run(commandName, payload) {
|
||||
return { type: RUN_COMMAND, command: commandName, payload };
|
||||
}
|
||||
|
||||
export function navigateToCollection(collectionName) {
|
||||
return runCommand(SHOW_COLLECTION, { collectionName });
|
||||
}
|
||||
|
||||
export function createNewEntryInCollection(collectionName) {
|
||||
return runCommand(CREATE_COLLECTION, { collectionName });
|
||||
}
|
||||
|
Reference in New Issue
Block a user