فهرست منبع

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

Fix File Outilne after Switching to Binary Files

GitOrigin-RevId: 3b349399cb90dd911381c27522a5ca067312f621
Timothée Alby 4 سال پیش
والد
کامیت
d968810a27
1فایلهای تغییر یافته به همراه0 افزوده شده و 6 حذف شده
  1. 0 6
      services/web/frontend/js/features/outline/outline-manager.js

+ 0 - 6
services/web/frontend/js/features/outline/outline-manager.js

@@ -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()