mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
feat: mount toggle button anyway
This commit is contained in:
parent
55ce652610
commit
27ab86cac8
1 changed files with 8 additions and 1 deletions
|
|
@ -41,11 +41,18 @@ const init = dispatch => async () => {
|
|||
dispatch(setShouldShow, nothingWentWrong && shouldShow)
|
||||
aggressivelyGotTreeData
|
||||
.then(treeData => {
|
||||
dispatch({ logoContainerElement: DOMHelper.insertLogoMountPoint() })
|
||||
dispatch({ treeData })
|
||||
})
|
||||
.catch(err => {
|
||||
dispatch(handleError, err)
|
||||
})
|
||||
.then(() => {
|
||||
dispatch({ logoContainerElement: DOMHelper.insertLogoMountPoint() })
|
||||
})
|
||||
} catch (err) {
|
||||
dispatch(handleError, err)
|
||||
} finally {
|
||||
dispatch({ logoContainerElement: DOMHelper.insertLogoMountPoint() })
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue