File tree Expand file tree Collapse file tree 1 file changed +1
-45
lines changed Expand file tree Collapse file tree 1 file changed +1
-45
lines changed Original file line number Diff line number Diff line change @@ -45,51 +45,7 @@ export default {
45
45
unreadTasksCount: 0 ,
46
46
};
47
47
},
48
- computed: {
49
- /**
50
- * The menu item entry for a back-to-dashboard link
51
- *
52
- * @return {Object|null}
53
- */
54
- backToDashboardLink () {
55
- if (this .useBackToDashboard ) {
56
- return this .menu [Object .keys (this .menu )[0 ]];
57
- }
58
- return null ;
59
- },
60
-
61
- /**
62
- * The new label for the back-to-dashboard link
63
- *
64
- * Converts "Submissions" to "Back to Submissions"
65
- *
66
- * @return {String}
67
- */
68
- backToDashboardLabel () {
69
- if (this .backToDashboardLink ) {
70
- return this .t (' navigation.backTo' , {
71
- page: this .backToDashboardLink .name ,
72
- });
73
- }
74
- return null ;
75
- },
76
-
77
- /**
78
- * Should a back-to-dashboard link be shown instead of a
79
- * full navigation menu?
80
- *
81
- * This is the case when the nav menu contains only one link.
82
- *
83
- * @return {Boolean}
84
- */
85
- useBackToDashboard () {
86
- return (
87
- !! this .menu &&
88
- Object .keys (this .menu ).length === 1 &&
89
- ! this .menu [Object .keys (this .menu )[0 ]].isCurrent
90
- );
91
- },
92
- },
48
+ computed: {},
93
49
mounted () {
94
50
/**
95
51
* Fire a callback when the URL #hash is changed
You can’t perform that action at this time.
0 commit comments