Luca448 commited on
Commit
fd3c87e
·
1 Parent(s): b69d3a9

Fix: Fallback color for folder popover when dataset.color is undefined

Browse files
index.html CHANGED
@@ -74,7 +74,7 @@
74
  </head>
75
  <body class="dark-theme in-chat-view">
76
 
77
- <div id="live-version-badge" style="position: fixed; top: 50px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--text-secondary); opacity: 0.6; z-index: 99999; pointer-events: none; font-weight: 500; font-family: monospace; letter-spacing: 1px; background: rgba(0,0,0,0.2); padding: 2px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05);">BUILD 1.8.285</div>
78
 
79
  <!-- SVG Filters for Liquid Glass Refraction -->
80
  <svg width="0" height="0" style="position: absolute; pointer-events: none;">
 
74
  </head>
75
  <body class="dark-theme in-chat-view">
76
 
77
+ <div id="live-version-badge" style="position: fixed; top: 50px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--text-secondary); opacity: 0.6; z-index: 99999; pointer-events: none; font-weight: 500; font-family: monospace; letter-spacing: 1px; background: rgba(0,0,0,0.2); padding: 2px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05);">BUILD 1.8.286</div>
78
 
79
  <!-- SVG Filters for Liquid Glass Refraction -->
80
  <svg width="0" height="0" style="position: absolute; pointer-events: none;">
src/views/documents/documents-view.js CHANGED
@@ -1181,7 +1181,7 @@ export class DocumentsView {
1181
 
1182
  const path = btnEl.dataset.path;
1183
  const currentEmoji = btnEl.dataset.emoji;
1184
- const currentColor = btnEl.dataset.color;
1185
  const popover = document.createElement('div');
1186
  popover.className = 'folder-popover';
1187
 
 
1181
 
1182
  const path = btnEl.dataset.path;
1183
  const currentEmoji = btnEl.dataset.emoji;
1184
+ const currentColor = btnEl.dataset.color || '#6c8ef5';
1185
  const popover = document.createElement('div');
1186
  popover.className = 'folder-popover';
1187