removing else section as its not used
This commit is contained in:
parent
78ce579583
commit
36db054036
1 changed files with 0 additions and 7 deletions
|
@ -233,13 +233,6 @@ export default class Plugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.registry.registerPostWillRenderEmbedComponent((embed) => embed.type === 'boards', BoardsUnfurl, false)
|
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()
|
const config = await octoClient.getClientConfig()
|
||||||
|
|
Loading…
Reference in a new issue