Skip to content

Commit ae4a5fe

Browse files
authored
Merge pull request #720 from MelleD/MelleD-patch-1
fix: Remove deprecated 'storgage-id' from configtype
2 parents 2ffd444 + 744d2c4 commit ae4a5fe

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/ExpanderCard.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
let animationState: AnimationState = $state<AnimationState>('idle');
7171
let animationTimeout: ReturnType<typeof setTimeout> | null = $state(null);
7272
73-
const configId = config['storage-id'] ?? config['storgage-id'];
73+
const configId = config['storage-id'];
7474
const lastStorageOpenStateId = 'expander-open-' + configId;
7575
showButtonUsers = preview || (userInList(config['show-button-users']) ?? true);
7676

src/configtype.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ export interface ExpanderConfig {
3737
'min-width-expanded'?: number;
3838
'max-width-expanded'?: number;
3939
icon?: string;
40-
'storgage-id'?: string; // Deprecated as of 2.6.5
4140
'storage-id'?: string;
4241
'icon-rotate-degree'?: string;
4342
'show-button-users'?: string[];

0 commit comments

Comments
 (0)