Skip to content

Commit 36ab8b0

Browse files
committed
Fix lumino tabs
1 parent 2177702 commit 36ab8b0

File tree

4 files changed

+1
-40
lines changed

4 files changed

+1
-40
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"dependencies": {
2424
"@apollo/client": "^3.5.8",
2525
"@hpcc-js/wasm": "^2.8.0",
26-
"@lumino/algorithm": "^1.9.1",
2726
"@lumino/default-theme": "^0.22.0",
2827
"@lumino/widgets": "^2.0.0",
2928
"@unhead/vue": "^1.1.17",

src/views/Workspace.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3838

3939
<script>
4040
import { uniqueId } from 'lodash'
41-
import { toArray } from '@lumino/algorithm'
4241
import { getPageTitle } from '@/utils/index'
4342
import graphqlMixin from '@/mixins/graphql'
4443
import subscriptionMixin from '@/mixins/subscription'
@@ -130,7 +129,7 @@ export default {
130129
* Remove all the widgets present in the DockPanel.
131130
*/
132131
removeAllWidgets () {
133-
toArray(this.$refs.lumino.dock.widgets())
132+
Array.from(this.$refs.lumino.dock.widgets())
134133
.forEach(widget => widget.close())
135134
},
136135
/**

tests/unit/components/cylc/workflow/workflow.vue.spec.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

yarn.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2877,7 +2877,6 @@ __metadata:
28772877
"@apollo/client": ^3.5.8
28782878
"@cypress/code-coverage": ^3.9.12
28792879
"@hpcc-js/wasm": ^2.8.0
2880-
"@lumino/algorithm": ^1.9.1
28812880
"@lumino/default-theme": ^0.22.0
28822881
"@lumino/widgets": ^2.0.0
28832882
"@mdi/js": ^7.0.0

0 commit comments

Comments
 (0)