mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-12 02:58:20 +08:00
769a5e5765
Summary: Fixes T2135 Test Plan: Run tests Reviewers: evan Reviewed By: evan Maniphest Tasks: T2135 Differential Revision: https://phab.nylas.com/D1731
25 lines
861 B
CoffeeScript
25 lines
861 B
CoffeeScript
MessageList = require "./message-list"
|
|
MessageToolbarItems = require "./message-toolbar-items"
|
|
{ComponentRegistry,
|
|
WorkspaceStore} = require 'nylas-exports'
|
|
SidebarThreadParticipants = require "./sidebar-thread-participants"
|
|
|
|
module.exports =
|
|
item: null # The DOM item the main React component renders into
|
|
|
|
activate: (@state={}) ->
|
|
# Register Message List Actions we provide globally
|
|
ComponentRegistry.register MessageList,
|
|
location: WorkspaceStore.Location.MessageList
|
|
|
|
ComponentRegistry.register MessageToolbarItems,
|
|
location: WorkspaceStore.Location.MessageList.Toolbar
|
|
|
|
ComponentRegistry.register SidebarThreadParticipants,
|
|
location: WorkspaceStore.Location.MessageListSidebar
|
|
|
|
deactivate: ->
|
|
ComponentRegistry.unregister MessageList
|
|
ComponentRegistry.unregister MessageToolbarItems
|
|
|
|
serialize: -> @state
|