mirror of
https://gitlab.com/walljm/dynamicbible.git
synced 2025-07-23 07:19:50 -04:00
Fix expand() on passage cards
This commit is contained in:
parent
2ddbc4e7b6
commit
ed2e65fb8a
15
src/.vscode/launch.json
vendored
Normal file
15
src/.vscode/launch.json
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "chrome",
|
||||
"request": "launch",
|
||||
"name": "Launch Chrome against localhost",
|
||||
"url": "http://localhost:4200",
|
||||
"webRoot": "${workspaceFolder}/src/"
|
||||
}
|
||||
]
|
||||
}
|
@ -361,7 +361,7 @@ export class AppService extends createStateService(reducer, initialState) {
|
||||
async updatePassage(oldCard: CardItem, ref: BibleReference) {
|
||||
const newCard = await this.composeBiblePassageCardItem(ref);
|
||||
|
||||
this.dispatch(AppActionFactory.newUpdateCard(oldCard, newCard));
|
||||
this.dispatch(AppActionFactory.newUpdateCard(newCard, oldCard));
|
||||
}
|
||||
|
||||
private async composeBiblePassageCardItem(ref: BibleReference) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user