Skip to content

Commit 1db17eb

Browse files
committed
fix(ui): revert dashboard menu
1 parent 2eed9b6 commit 1db17eb

File tree

1 file changed

+2
-28
lines changed

1 file changed

+2
-28
lines changed

web/src/components/DashboardMenu.vue

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,9 @@
3333
</div>
3434
</template>
3535
<script>
36-
import PermissionsCheck from '@/components/PermissionsCheck';
37-
import {
38-
TEMPLATE_TYPE_ACTION_TITLES,
39-
TEMPLATE_TYPE_ICONS,
40-
TEMPLATE_TYPE_TITLES,
41-
} from '@/lib/constants';
4236
4337
export default {
4438
45-
mixins: [PermissionsCheck],
46-
4739
props: {
4840
projectId: Number,
4941
projectType: String,
@@ -52,27 +44,9 @@ export default {
5244
5345
data() {
5446
return {
55-
dateRanges: [{
56-
text: 'Past week',
57-
value: 'last_week',
58-
}, {
59-
text: 'Past month',
60-
value: 'last_month',
61-
}, {
62-
text: 'Past year',
63-
value: 'last_year',
64-
}],
65-
users: [{
66-
text: 'All users',
67-
value: null,
68-
}],
69-
user: null,
70-
TEMPLATE_TYPE_ICONS,
71-
TEMPLATE_TYPE_TITLES,
72-
TEMPLATE_TYPE_ACTION_TITLES,
73-
stats: null,
74-
dateRange: 'last_week',
47+
id: null,
7548
};
7649
},
50+
7751
};
7852
</script>

0 commit comments

Comments
 (0)