Skip to content

[BUG] OTR Timeout not showing #13754

@knrt10

Description

@knrt10

Description:

modal.open({
					title: t('Timeout'),
					type: 'error',
					timer: 2000,
				});

It is simple, t we want is a util but to set the title we are using instance one, which is not a function.

Steps to reproduce:

  1. Start an OTR with a user
  2. Do not accept and wait

Expected behavior:

Screenshot 2019-03-17 at 7 48 08 PM

Actual behavior:

Modal is not shown, and the console gets an error.

Actual

Server Setup Information:

  • Version of Rocket.Chat Server: 1.0.0-develop
  • Operating System: MacOs
  • Deployment Method: Meteor
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 8.11.4
  • MongoDB Version: 3.6

Additional context

I have solved it, will make a PR for the same

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions