Toggle navigation
Toggle navigation
This project
Loading...
Sign in
윤준석
/
mamuri-bot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
유명현
2022-05-28 21:36:00 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
67d1fd405c27b46af87306492be8271baf3e93a8
67d1fd40
1 parent
c6ce1e28
EDIT: Change extraInfo of mamul
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
server/chatbot/message/setCarouselMessage.js
server/chatbot/message/setCarouselMessage.js
View file @
67d1fd4
...
...
@@ -51,8 +51,8 @@ function setCarouselMessage(mamuls) {
if
(
mamuls
[
i
][
"extraInfo"
]
==
undefined
||
mamuls
[
i
][
"extraInfo"
]
==
""
)
{
mamuls
[
i
][
"extraInfo"
]
=
"없음"
;
}
else
if
(
mamuls
[
i
][
"extraInfo"
].
length
>
15
0
)
{
mamuls
[
i
][
"extraInfo"
]
=
mamuls
[
i
][
"extraInfo"
].
slice
(
0
,
15
0
)
+
"\n..."
;
}
else
if
(
mamuls
[
i
][
"extraInfo"
].
length
>
7
0
)
{
mamuls
[
i
][
"extraInfo"
]
=
mamuls
[
i
][
"extraInfo"
].
slice
(
0
,
7
0
)
+
"\n..."
;
}
flexMessage
=
setFlexMessage
(
...
...
Please
register
or
login
to post a comment