mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 13:44:41 +08:00
2814a0bc70
Summary: A notification now appears at the bottom of the window when the user performs an action that can be undone Test Plan: Tested manually Reviewers: bengotow Reviewed By: bengotow Subscribers: mg Differential Revision: https://phab.nylas.com/D1820
13 lines
No EOL
357 B
CoffeeScript
13 lines
No EOL
357 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 |