Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
var name paramViewMode
  • Loading branch information
atanasster committed Dec 7, 2019
commit e2c3d1b71dff848326d3d65edff94c51667e02a6
6 changes: 3 additions & 3 deletions lib/ui/src/components/sidebar/SidebarStories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ const refinedViewMode = (
isDocsOnly: boolean,
parameters: { viewMode?: string } = {}
) => {
const { viewMode: pViewMode } = parameters;
if (typeof pViewMode === 'string') {
return pViewMode;
const { viewMode: paramViewMode } = parameters;
if (typeof paramViewMode === 'string') {
return paramViewMode;
}
if (isDocsOnly) {
return 'docs';
Expand Down