mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	fix(relation_map): floating buttons stuck when showing source
This commit is contained in:
		| @@ -218,8 +218,8 @@ function SaveToNoteButton({ note }: FloatingButtonContext) { | ||||
|     /> | ||||
| } | ||||
|  | ||||
| function RelationMapButtons({ note, triggerEvent }: FloatingButtonContext) { | ||||
|     const isEnabled = (note.type === "relationMap"); | ||||
| function RelationMapButtons({ note, isDefaultViewMode, triggerEvent }: FloatingButtonContext) { | ||||
|     const isEnabled = (note.type === "relationMap" && isDefaultViewMode); | ||||
|     return isEnabled && ( | ||||
|         <> | ||||
|             <FloatingButton | ||||
|   | ||||
		Reference in New Issue
	
	Block a user