Skip to content

Commit f310632

Browse files
committed
rename
1 parent a0cc232 commit f310632

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/Main/MainView/MessageElement/MessageTools.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,19 +179,19 @@ const onDotsClick = (e: MouseEvent) => {
179179
}
180180
181181
const DEFAULT_CLIP_FOLDER_ID = '201fcb38-3dbe-4a53-8c0c-37b47bed9985' // FIXME: あとで直す
182-
const clippedFolders = ref(new Set<ClipFolderId>())
182+
const clippingFolderIds = ref(new Set<ClipFolderId>())
183183
const isClipped = computed(() =>
184-
clippedFolders.value.has(DEFAULT_CLIP_FOLDER_ID)
184+
clippingFolderIds.value.has(DEFAULT_CLIP_FOLDER_ID)
185185
)
186186
187187
apis.getMessageClips(props.messageId).then(res => {
188-
clippedFolders.value = new Set(res.data.map(c => c.folderId))
188+
clippingFolderIds.value = new Set(res.data.map(c => c.folderId))
189189
})
190190
const clipIconName = computed(() => {
191191
return isClipped.value ? 'bookmark-check' : 'bookmark'
192192
})
193193
194-
const { toggleClip } = useCreateClip(props.messageId, clippedFolders)
194+
const { toggleClip } = useCreateClip(props.messageId, clippingFolderIds)
195195
const openClipCreateModal = () => {
196196
toggleClip(DEFAULT_CLIP_FOLDER_ID)
197197
}

0 commit comments

Comments
 (0)