removing else section as its not used

This commit is contained in:
Scott Bishel 2022-04-12 14:19:15 -06:00
parent 78ce579583
commit 36db054036

View file

@ -233,13 +233,6 @@ export default class Plugin {
}
this.registry.registerPostWillRenderEmbedComponent((embed) => embed.type === 'boards', BoardsUnfurl, false)
} else {
windowAny.frontendBaseURL = subpath + '/plug/focalboard'
this.channelHeaderButtonId = registry.registerChannelHeaderButtonAction(<FocalboardIcon/>, () => {
const currentTeam = mmStore.getState().entities.teams.currentTeamId
window.open(`${window.location.origin}/plug/focalboard/team/${currentTeam}`)
}, 'Boards', 'Boards')
this.registry.registerCustomRoute('/', MainApp)
}
const config = await octoClient.getClientConfig()