mirror of
https://github.com/dergigi/boris.git
synced 2025-12-30 21:14:48 +01:00
fix: show highlights immediately when opening panel if already loaded
This commit is contained in:
@@ -199,7 +199,7 @@ export const HighlightsPanel: React.FC<HighlightsPanelProps> = ({
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{loading ? (
|
||||
{loading && filteredHighlights.length === 0 ? (
|
||||
<div className="highlights-loading">
|
||||
<FontAwesomeIcon icon={faHighlighter} spin />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user