mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 18:56:22 +00:00
Merge pull request #889 from asmsuechan/cloud-sync-comment
Add link for cloud integration
This commit is contained in:
@@ -5,7 +5,7 @@ import dataApi from 'browser/main/lib/dataApi'
|
|||||||
import StorageItem from './StorageItem'
|
import StorageItem from './StorageItem'
|
||||||
|
|
||||||
const electron = require('electron')
|
const electron = require('electron')
|
||||||
const remote = electron.remote
|
const { shell, remote } = electron
|
||||||
|
|
||||||
function browseFolder () {
|
function browseFolder () {
|
||||||
let dialog = remote.dialog
|
let dialog = remote.dialog
|
||||||
@@ -50,6 +50,11 @@ class StoragesTab extends React.Component {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
handleLinkClick (e) {
|
||||||
|
shell.openExternal(e.currentTarget.href)
|
||||||
|
e.preventDefault()
|
||||||
|
}
|
||||||
|
|
||||||
renderList () {
|
renderList () {
|
||||||
let { data, boundingBox } = this.props
|
let { data, boundingBox } = this.props
|
||||||
|
|
||||||
@@ -161,7 +166,10 @@ class StoragesTab extends React.Component {
|
|||||||
<option value='FILESYSTEM'>File System</option>
|
<option value='FILESYSTEM'>File System</option>
|
||||||
</select>
|
</select>
|
||||||
<div styleName='addStorage-body-section-type-description'>
|
<div styleName='addStorage-body-section-type-description'>
|
||||||
3rd party cloud integration(such as Google Drive and Dropbox) will be available soon.
|
3rd party cloud integration:
|
||||||
|
<a href='https://github.com/BoostIO/Boostnote/wiki/Cloud-Syncing'
|
||||||
|
onClick={(e) => this.handleLinkClick(e)}
|
||||||
|
>Cloud-Syncing</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user