{this.state.tabSelected === 'grp' ?
diff --git a/src/views/tinode-web.jsx b/src/views/tinode-web.jsx
index 265cb85f..d231b49e 100644
--- a/src/views/tinode-web.jsx
+++ b/src/views/tinode-web.jsx
@@ -13,6 +13,7 @@ import MessagesView from './messages-view.jsx';
import SidepanelView from './sidepanel-view.jsx';
import { API_KEY, APP_NAME, MEDIA_BREAKPOINT, RECEIVED_DELAY } from '../config.js';
+import { makeImageUrl } from '../lib/blob-helpers.js';
import { isLocalHost, isSecureConnection } from '../lib/host-name.js';
import LocalStorageUtil from '../lib/local-storage.js';
import HashNavigation from '../lib/navigation.js';
diff --git a/src/widgets/contact-list.jsx b/src/widgets/contact-list.jsx
index 903f98a0..d0577465 100644
--- a/src/widgets/contact-list.jsx
+++ b/src/widgets/contact-list.jsx
@@ -2,6 +2,8 @@ import React from 'react';
import Contact from './contact.jsx';
+import { makeImageUrl } from '../lib/blob-helpers.js';
+
/* ContactList: component for showing a list of contacts,
* such as a list of group members in a group chat */
export default class ContactList extends React.Component {
diff --git a/src/widgets/letter-tile.jsx b/src/widgets/letter-tile.jsx
index 0facdf53..5180b520 100644
--- a/src/widgets/letter-tile.jsx
+++ b/src/widgets/letter-tile.jsx
@@ -2,6 +2,8 @@ import React from 'react';
import Tinode from 'tinode-sdk';
+import { stringHash } from '../lib/strformat.js';
+
export default class LetterTile extends React.PureComponent {
render() {
let avatar;
diff --git a/src/widgets/tag-manager.jsx b/src/widgets/tag-manager.jsx
index d1c47346..84dd5a96 100644
--- a/src/widgets/tag-manager.jsx
+++ b/src/widgets/tag-manager.jsx
@@ -1,8 +1,11 @@
// TagManager: edit topic or user tags.
import React from 'react';
+import { FormattedMessage } from 'react-intl';
import ChipInput from './chip-input.jsx';
+import { arrayEqual } from '../lib/utils.js';
+
export default class TagManager extends React.Component {
constructor(props) {
super(props);
@@ -10,8 +13,7 @@ export default class TagManager extends React.Component {
this.state = {
tags: this.props.tags,
tagInput: '',
- activated: this.props.activated,
- noTagsMessage: "Add some tags"
+ activated: this.props.activated
};
this.handleShowTagManager = this.handleShowTagManager.bind(this);
@@ -99,7 +101,9 @@ export default class TagManager extends React.Component {
tags.push(
{tag});
});
if (tags.length == 0) {
- tags =
No tags defined. Add some.;
+ tags = (
+
+ );
}
}
return (
@@ -109,26 +113,34 @@ export default class TagManager extends React.Component {
{this.state.activated ?