This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// skip import for KO (Knockout.js) here, it should be available in global deps | |
import Vue from 'vue'; | |
import ProjectsConversationWrapper from 'ProjectsConversationWrapper'; | |
import { getProjectConversation } from 'api'; | |
// unique component identifier | |
const uniqueId = 'chat-project-room'; | |
const bindingHandlerInit = async (element, valueAccessor) => { | |
const projectId = parseInt(ko.unwrap(valueAccessor()), 10); |