Skip to content

Commit 7746554

Browse files
committed
fix: 简单兼容下组合订阅里取不到单条订阅的情况
1 parent 7934286 commit 7746554

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub-store-front-end",
3-
"version": "2.15.71",
3+
"version": "2.15.72",
44
"private": true,
55
"scripts": {
66
"dev": "vite --host",

src/components/SubListItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ const collectionDetail = computed(() => {
400400
} else {
401401
const displayNameList = nameList.map((name) => {
402402
const sub = subsStore.getOneSub(name);
403-
return sub?.displayName || sub?.["display-name"] || sub.name;
403+
return sub?.displayName || sub?.["display-name"] || sub?.name;
404404
});
405405
if (nameList.length === 0) {
406406
return `${t("subPage.collectionItem.containTag")}: ${subTags.join(", ")}`;

src/views/SubEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ const padding = bottomSafeArea.value + "px";
617617
if(!Array.isArray(subscriptions) || subscriptions.length === 0) return `: ${t(`editorPage.subConfig.basic.subscriptions.empty`)}`
618618
return `: ${subscriptions.map((name) => {
619619
const sub = subsStore.getOneSub(name);
620-
return sub?.displayName || sub?.["display-name"] || sub.name;
620+
return sub?.displayName || sub?.["display-name"] || sub?.name;
621621
}).join(', ')}`
622622
});
623623
const compareTableIsVisible = ref(false);

0 commit comments

Comments
 (0)