Files
anonymous_github/public
tdurieux 5c7eb23336 fix: don't crash and stay stuck on a subdir markdown link
Clicking a markdown link into a subdirectory's README threw
"Cannot read properties of undefined (reading 'sha')" and left the
viewer on Loading…. The route handler called updateContent() without
loading the new directory's file listing, so getSelectedFile() returned
undefined and getContent() then dereferenced fileInfo.sha.

Two fixes:
- getContent() falls back to sha "0" when fileInfo is undefined.
- The $routeUpdate handler walks the new path and loads any directory
  listings that aren't yet in $scope.files before rendering, so the
  selected file actually has its sha by the time we fetch.

Fixes #510.
2026-05-04 11:10:12 +02:00
..
2026-05-03 22:29:01 +02:00
2024-04-05 01:02:41 +01:00
2021-08-14 05:29:31 +02:00
2026-05-03 15:30:54 +02:00
2021-04-26 06:37:18 +02:00
2026-04-24 15:25:23 +02:00
2021-03-19 10:23:46 +01:00