fix: column view preserves previous columns during navigation
Only reset columns when bucket changes, not when prefix changes. Internal folder navigation is handled by selectFolder() which properly appends new columns while preserving previous ones.
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -134,7 +134,9 @@ export class TsviewS3Columns extends DeesElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
updated(changedProperties: Map<string, unknown>) {
|
updated(changedProperties: Map<string, unknown>) {
|
||||||
if (changedProperties.has('bucketName') || changedProperties.has('currentPrefix')) {
|
// Only reset columns when bucket changes
|
||||||
|
// Internal folder navigation is handled by selectFolder() which appends columns
|
||||||
|
if (changedProperties.has('bucketName')) {
|
||||||
this.loadInitialColumn();
|
this.loadInitialColumn();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user