Browse Source

activePanel --> activePickerPanel

“Picker” because “file picker”
Artur Paikin 6 years ago
parent
commit
dff9c989f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/@uppy/dashboard/src/components/AddFiles.js

+ 1 - 1
packages/@uppy/dashboard/src/components/AddFiles.js

@@ -86,7 +86,7 @@ class AddFiles extends Component {
                   role="tab"
                   tabindex={0}
                   aria-controls={`uppy-DashboardContent-panel--${target.id}`}
-                  aria-selected={this.props.activePanel.id === target.id}
+                  aria-selected={this.props.activePickerPanel.id === target.id}
                   onclick={() => this.props.showPanel(target.id)}>
                   {target.icon()}
                   <div class="uppy-DashboardTab-name">{target.name}</div>