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