Browse Source

[https://github.com/tracim/tracim/issues/756] popup create workspace is now closable

Skylsmoi 6 years ago
parent
commit
a99e9d8577
1 changed files with 1 additions and 0 deletions
  1. 1 0
      frontend/dist/appInterface.js

+ 1 - 0
frontend/dist/appInterface.js View File

76
   GLOBAL_eventReducer = ({detail: {type, data}}) => {
76
   GLOBAL_eventReducer = ({detail: {type, data}}) => {
77
     switch (type) {
77
     switch (type) {
78
       case 'hide_popupCreateContent':
78
       case 'hide_popupCreateContent':
79
+      case 'hide_popupCreateWorkspace':
79
         console.log('%cGLOBAL_eventReducer Custom Event', 'color: #28a745', type, data)
80
         console.log('%cGLOBAL_eventReducer Custom Event', 'color: #28a745', type, data)
80
         getSelectedApp(data.name).unmountApp('popupCreateContentContainer')
81
         getSelectedApp(data.name).unmountApp('popupCreateContentContainer')
81
         break
82
         break