Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
1ae3afc0
Commit
1ae3afc0
authored
Aug 14, 2024
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: tweak memo relation popover
parent
18db7817
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
AddMemoRelationPopover.tsx
...onents/MemoEditor/ActionButton/AddMemoRelationPopover.tsx
+3
-5
en.json
web/src/locales/en.json
+1
-0
No files found.
web/src/components/MemoEditor/ActionButton/AddMemoRelationPopover.tsx
View file @
1ae3afc0
...
@@ -168,12 +168,10 @@ const AddMemoRelationPopover = (props: Props) => {
...
@@ -168,12 +168,10 @@ const AddMemoRelationPopover = (props: Props) => {
}
}
onChange=
{
(
_
,
value
)
=>
setSelectedMemos
(
value
)
}
onChange=
{
(
_
,
value
)
=>
setSelectedMemos
(
value
)
}
/>
/>
<
div
className=
"mt-2"
>
<
div
className=
"mt-2 w-full flex flex-row justify-end items-center gap-2"
>
<
Checkbox
size=
"sm"
label=
{
t
(
"reference.embedded-usage"
)
}
checked=
{
embedded
}
onChange=
{
(
e
)
=>
setEmbedded
(
e
.
target
.
checked
)
}
/>
<
Checkbox
size=
"sm"
label=
{
"Embed"
}
checked=
{
embedded
}
onChange=
{
(
e
)
=>
setEmbedded
(
e
.
target
.
checked
)
}
/>
</
div
>
<
div
className=
"mt-1 w-full flex flex-row justify-start items-center space-x-1"
>
<
Button
size=
"sm"
onClick=
{
addMemoRelations
}
disabled=
{
selectedMemos
.
length
===
0
}
>
<
Button
size=
"sm"
onClick=
{
addMemoRelations
}
disabled=
{
selectedMemos
.
length
===
0
}
>
{
t
(
"common.
confirm
"
)
}
{
t
(
"common.
add
"
)
}
</
Button
>
</
Button
>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
web/src/locales/en.json
View file @
1ae3afc0
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
},
},
"common"
:
{
"common"
:
{
"about"
:
"About"
,
"about"
:
"About"
,
"add"
:
"Add"
,
"admin"
:
"Admin"
,
"admin"
:
"Admin"
,
"archive"
:
"Archive"
,
"archive"
:
"Archive"
,
"archived"
:
"Archived"
,
"archived"
:
"Archived"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment