diff --git a/public/app/features/explore-map/components/ExploreMapStickyNote.tsx b/public/app/features/explore-map/components/ExploreMapStickyNote.tsx index 0d8f3e1bbc7..756ed2fb3a9 100644 --- a/public/app/features/explore-map/components/ExploreMapStickyNote.tsx +++ b/public/app/features/explore-map/components/ExploreMapStickyNote.tsx @@ -45,7 +45,7 @@ export function ExploreMapStickyNote({ postIt, zoom }: ExploreMapStickyNoteProps const [editText, setEditText] = useState(postIt.text); const [dragStartPos, setDragStartPos] = useState<{ x: number; y: number } | null>(null); - const colorInfo = STICKY_NOTE_COLORS.find((c) => c.name === postIt.color) || STICKY_NOTE_COLORS.find((c) => c.name === 'purple') || STICKY_NOTE_COLORS[0]; + const colorInfo = STICKY_NOTE_COLORS.find((c) => c.name === postIt.color) || STICKY_NOTE_COLORS.find((c) => c.name === 'blue') || STICKY_NOTE_COLORS[0]; const handleDragStart: RndDragCallback = useCallback( (_e, data) => { diff --git a/public/app/features/explore-map/crdt/state.ts b/public/app/features/explore-map/crdt/state.ts index 5b0fb8920aa..ae8fdb2e2ba 100644 --- a/public/app/features/explore-map/crdt/state.ts +++ b/public/app/features/explore-map/crdt/state.ts @@ -678,7 +678,7 @@ export class CRDTStateManager { postItId, position, text: text || '', - color: color || 'purple', + color: color || 'blue', createdBy, }, };