mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 15:46:28 +08:00
18 lines
479 B
CoffeeScript
18 lines
479 B
CoffeeScript
_ = require 'underscore-plus'
|
|
React = require "react"
|
|
SidebarFullContact = require "./sidebar-fullcontact"
|
|
{ComponentRegistry, WorkspaceStore} = require "inbox-exports"
|
|
|
|
module.exports =
|
|
item: null
|
|
|
|
activate: (@state={}) ->
|
|
ComponentRegistry.register
|
|
name: 'SidebarFullContact'
|
|
view: SidebarFullContact
|
|
location: WorkspaceStore.Location.MessageListSidebar
|
|
|
|
deactivate: ->
|
|
ComponentRegistry.unregister('SidebarFullContact')
|
|
|
|
serialize: -> @state
|