We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44d7cb9 commit db2423fCopy full SHA for db2423f
web/src/dss/module/header/index.vue
@@ -358,6 +358,9 @@ export default {
358
if (this.$route.query.workspaceId) {
359
GetCollections(this.$route.query.workspaceId).then(data => {
360
let collections = data.favorites || [];
361
+ while( collections.length > 5 ) {
362
+ collections.pop();
363
+ }
364
this.collections = collections.map(item => {
365
return {
366
...item,
0 commit comments