diff options
| author | Henry Jameson <me@hjkos.com> | 2019-01-17 19:16:45 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2019-01-17 19:16:45 +0300 |
| commit | 5251de317dcd67d123109d64a0c39037267e1705 (patch) | |
| tree | 9b780b8239063558a46430a4735076af963a021e /src/components/conversation-page/conversation-page.js | |
| parent | d7bd294666cba08b6f6a8d447fbdf4cd59e66b2b (diff) | |
| parent | 387bf794ffbfb202fc426a578f174e7d6e3681d6 (diff) | |
Merge branch 'switch-to-string-ids' into favorites
with some changes/merge conflicts resolution
* switch-to-string-ids:
fixx?????
fix notifications?
fix lint
fix tests, removed one unused function, fix real problem that tests helped to surface
added some more explicit to string conversion since BE seem to be sending numbers and it could cause an issue.
Remove all explicit and implicit conversions of statusId to number, changed explicit ones so that they convert them to string
Diffstat (limited to 'src/components/conversation-page/conversation-page.js')
| -rw-r--r-- | src/components/conversation-page/conversation-page.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/conversation-page/conversation-page.js b/src/components/conversation-page/conversation-page.js index beffa5bb..bdf84d0c 100644 --- a/src/components/conversation-page/conversation-page.js +++ b/src/components/conversation-page/conversation-page.js @@ -1,5 +1,5 @@ import Conversation from '../conversation/conversation.vue' -import { find, toInteger } from 'lodash' +import { find } from 'lodash' const conversationPage = { components: { @@ -7,7 +7,7 @@ const conversationPage = { }, computed: { statusoid () { - const id = toInteger(this.$route.params.id) + const id = String(this.$route.params.id) const statuses = this.$store.state.statuses.allStatuses const status = find(statuses, {id}) |
