- fix: updated from Store to Component: using Watch with 'immediate' parameters! @Watch('todos_changed', { immediate: true, deep: true })
- fix immediate only if you need to change something very quickly... otherwise it not need. - fix: modified become FALSE when is sent, otherwise infinite loop... - fix: created 2 separate tables for POST and PATCH request.
This commit is contained in:
@@ -26,9 +26,11 @@ export const rescodes = {
|
||||
},
|
||||
|
||||
DB: {
|
||||
CMD_SYNC_TODOS: 'sync-new-todos',
|
||||
CMD_SYNC_TODOS: 'sync-todos',
|
||||
CMD_SYNC_NEW_TODOS: 'sync-new-todos',
|
||||
CMD_DELETE_TODOS: 'sync-delete-todos',
|
||||
TABLE_SYNC_TODOS : 'sync_todos',
|
||||
TABLE_SYNC_TODOS_PATCH : 'sync_todos_patch',
|
||||
TABLE_DELETE_TODOS : 'delete_todos'
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user