mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
7190ca69f7
Summary: Major ID refactor Test Plan: edgehill --test Reviewers: bengotow, dillon Differential Revision: https://phab.nylas.com/D1946
13 lines
358 B
CoffeeScript
13 lines
358 B
CoffeeScript
{ComponentRegistry, WorkspaceStore} = require 'nylas-exports'
|
|
|
|
module.exports =
|
|
activate: (@state={}) ->
|
|
UndoRedoComponent = require "./undo-redo-component"
|
|
|
|
ComponentRegistry.register UndoRedoComponent,
|
|
location: WorkspaceStore.Location.ThreadList
|
|
|
|
deactivate: ->
|
|
ComponentRegistry.unregister UndoRedoComponent
|
|
|
|
serialize: -> @state
|