Merge pull request #7301 from overleaf/ta-ii-outline-filename-fix

Fix File Outilne after Switching to Binary Files

GitOrigin-RevId: 3b349399cb90dd911381c27522a5ca067312f621
This commit is contained in:
Timothée Alby
2022-04-05 12:19:45 +00:00
committed by Copybot
parent 9b71561814
commit d968810a27
@@ -31,12 +31,6 @@ class OutlineManager {
this.broadcastChangeEvent()
})
scope.$watch('openFile.name', openFileName => {
this.isTexFile = isValidTeXFile(openFileName)
this.updateOutline()
this.broadcastChangeEvent()
})
scope.$on('doc:changed', () => {
this.updateOutline()
this.broadcastChangeEvent()