Fix #1086. Update channel header button hint. (#1103)

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
This commit is contained in:
Chen-I Lim 2021-08-25 10:48:51 -07:00 committed by GitHub
parent 8c9a7f21b7
commit 791c600151
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -121,7 +121,7 @@ export default class Plugin {
const currentChannel = mmStore.getState().entities.channels.currentChannelId
window.open(`${window.location.origin}/boards/workspace/${currentChannel}`)
}
this.channelHeaderButtonId = registry.registerChannelHeaderButtonAction(<FocalboardIcon/>, goToFocalboardWorkspace, '', 'Focalboard Workspace')
this.channelHeaderButtonId = registry.registerChannelHeaderButtonAction(<FocalboardIcon/>, goToFocalboardWorkspace, '', 'Boards')
this.registry.registerCustomRoute('go-to-current-workspace', () => {
const history = useHistory()
@ -147,7 +147,7 @@ export default class Plugin {
this.channelHeaderButtonId = registry.registerChannelHeaderButtonAction(<FocalboardIcon/>, () => {
const currentChannel = mmStore.getState().entities.channels.currentChannelId
window.open(`${window.location.origin}/plug/focalboard/workspace/${currentChannel}`)
}, '', 'Boards Workspace')
}, '', 'Boards')
this.registry.registerCustomRoute('/', MainApp)
}
}