mirror of
https://github.com/usememos/memos.git
synced 2026-11-29 15:29:15 +01:00
refactor(web): one memo component, MemoEditor, with view and edit modes (#6481)
This commit is contained in:
@@ -305,9 +305,9 @@ export function MapView() {
|
||||
compose={
|
||||
composeLocation && user && (!creatorUsername || creatorUsername === user.username)
|
||||
? {
|
||||
cacheKey: `map-editor:${user?.name}:${selectedSpaceName ?? "all"}:${locationKey(composeLocation)}`,
|
||||
scope: `map:${user?.name}:${selectedSpaceName ?? "all"}:${locationKey(composeLocation)}`,
|
||||
label: t("map.new-here"),
|
||||
defaults: { defaultLocation: composeLocation },
|
||||
defaults: { location: composeLocation },
|
||||
onComposingChange: setComposing,
|
||||
onSavingChange: setSaving,
|
||||
onConfirm: (name) => void afterSave(name),
|
||||
|
||||
Reference in New Issue
Block a user