Merge tag '2024.11.0' into feature/2024.10
This commit is contained in:
commit
bc816cb166
234 changed files with 6612 additions and 4634 deletions
|
|
@ -68,10 +68,10 @@ const onDriveFileCreated = (file) => {
|
|||
}
|
||||
};
|
||||
|
||||
const thumbnail = (image: any): string => {
|
||||
const thumbnail = (image: Misskey.entities.DriveFile): string => {
|
||||
return defaultStore.state.disableShowingAnimatedImages
|
||||
? getStaticImageUrl(image.url)
|
||||
: image.thumbnailUrl;
|
||||
: image.thumbnailUrl ?? image.url;
|
||||
};
|
||||
|
||||
misskeyApi('drive/stream', {
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ const items = computed(() => rawItems.value.slice(0, widgetProps.maxEntries));
|
|||
const fetching = ref(true);
|
||||
const fetchEndpoint = computed(() => {
|
||||
const url = new URL('/api/fetch-rss', base);
|
||||
url.searchParams.set('url', widgetProps.url);
|
||||
url.searchParams.set('url', encodeURIComponent(widgetProps.url));
|
||||
return url;
|
||||
});
|
||||
const intervalClear = ref<(() => void) | undefined>();
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ const items = computed(() => {
|
|||
const fetching = ref(true);
|
||||
const fetchEndpoint = computed(() => {
|
||||
const url = new URL('/api/fetch-rss', base);
|
||||
url.searchParams.set('url', widgetProps.url);
|
||||
url.searchParams.set('url', encodeURIComponent(widgetProps.url));
|
||||
return url;
|
||||
});
|
||||
const intervalClear = ref<(() => void) | undefined>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue