import Route from 'ember-route';
import injectService from 'ember-service/inject';

export default Route.extend({
  persistentPlayerContent: injectService(),

  isInteractive(interactiveComponents) {
    return (!this.get('currentModel.show_chat') || interactiveComponents['chat/chat-room-manager']) && interactiveComponents['persistent-player'];
  }
});
