From d968810a279bb8a5e2064133422a8159c5965b3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Alby?= Date: Thu, 31 Mar 2022 17:03:37 +0200 Subject: [PATCH] Merge pull request #7301 from overleaf/ta-ii-outline-filename-fix Fix File Outilne after Switching to Binary Files GitOrigin-RevId: 3b349399cb90dd911381c27522a5ca067312f621 --- .../web/frontend/js/features/outline/outline-manager.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/services/web/frontend/js/features/outline/outline-manager.js b/services/web/frontend/js/features/outline/outline-manager.js index cde836fed2..4b9fc0cd37 100644 --- a/services/web/frontend/js/features/outline/outline-manager.js +++ b/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()