don't show "follow tutorial in editor" for docs (only tutorials)
This commit is contained in:
Родитель
e797b2c0eb
Коммит
c35e0cc4aa
|
@ -6650,7 +6650,7 @@
|
||||||
})])
|
})])
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.correspondingTopic) {
|
if (this.correspondingTopic && this.correspondingTopic.topic && this.correspondingTopic.topic.isTutorial()) {
|
||||||
docsButtonDiv.appendChildren([HTML.mkButton(lf("follow tutorial in editor"),() => {
|
docsButtonDiv.appendChildren([HTML.mkButton(lf("follow tutorial in editor"),() => {
|
||||||
tick(Ticks.browseFollowTopic)
|
tick(Ticks.browseFollowTopic)
|
||||||
this.correspondingTopic.follow()
|
this.correspondingTopic.follow()
|
||||||
|
|
Загрузка…
Ссылка в новой задаче