forked from mystiq/hydrogen-web
fix lint errors
This commit is contained in:
parent
ff46d382ac
commit
d2008a336b
4 changed files with 2 additions and 3 deletions
|
@ -21,7 +21,6 @@ import {InviteTileViewModel} from "./InviteTileViewModel.js";
|
|||
import {RoomBeingCreatedTileViewModel} from "./RoomBeingCreatedTileViewModel.js";
|
||||
import {RoomFilter} from "./RoomFilter.js";
|
||||
import {ApplyMap} from "../../../observable/map/ApplyMap.js";
|
||||
import {LogMap} from "../../../observable/map/LogMap.js";
|
||||
import {addPanelIfNeeded} from "../../navigation/index.js";
|
||||
|
||||
export class LeftPanelViewModel extends ViewModel {
|
||||
|
|
|
@ -43,6 +43,7 @@ export class RoomBeingCreatedViewModel extends ViewModel {
|
|||
return error.message;
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
get avatarLetter() { return avatarInitials(this.name); }
|
||||
get avatarColorNumber() { return getIdentifierColorNumber(this._roomBeingCreated.avatarColorId); }
|
||||
|
|
|
@ -606,7 +606,7 @@ export class Session {
|
|||
return this._roomsBeingCreated;
|
||||
}
|
||||
|
||||
createRoom(options, log = undefined) {
|
||||
createRoom(options) {
|
||||
let roomBeingCreated;
|
||||
this._platform.logger.runDetached("create room", async log => {
|
||||
const id = `local-${Math.floor(this._platform.random() * Number.MAX_SAFE_INTEGER)}`;
|
||||
|
|
|
@ -18,7 +18,6 @@ limitations under the License.
|
|||
import {TemplateView} from "../../general/TemplateView";
|
||||
import {LoadingView} from "../../general/LoadingView";
|
||||
import {AvatarView} from "../../AvatarView";
|
||||
import {renderStaticAvatar} from "../../avatar.js";
|
||||
|
||||
export class RoomBeingCreatedView extends TemplateView {
|
||||
render(t, vm) {
|
||||
|
|
Loading…
Reference in a new issue