Skip to content

Commit 5ad7327

Browse files
committed
wip: Provide ready-made configuration snippets to help set up the app's configuration file #1140
1 parent 3c7e5d1 commit 5ad7327

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extras/configs/panes.top.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ module.exports = {
8989
// mode: mode to be restored
9090
// icon: icon to be displayed, default is `las la-times`
9191
// tooltip: tooltip to be displayed
92-
const params = Object.assign({ icon: "las-la-times" }, options)
92+
const params = Object.assign({ icon: "las la-times" }, options)
9393
return {
9494
id: `restore-${params.mode}`,
9595
icon: params.icon,
9696
tooltip: params.tooltip,
97-
handler: { name: 'setTopPaneMode', params: [mode] }
97+
handler: { name: 'setTopPaneMode', params: [params.mode] }
9898
}
9999
}
100100
}

0 commit comments

Comments
 (0)