File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
client/components/editor/MainSidebar Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 88 stateless
99 class =" blue-grey lighten-4 actions" >
1010 <v-toolbar flat class =" transparent" >
11- <v-list class = " pa-0 " >
11+ <v-list >
1212 <v-tooltip
1313 v-for =" ({ title, icon, action }) in actions"
1414 :key =" title"
@@ -52,20 +52,20 @@ export default {
5252 actions () {
5353 const { $router , activity: { courseId } } = this ;
5454 const items = [{
55- title: ' Back' ,
56- icon: ' arrow-left' ,
57- action : () => $router .push ({ name: ' course' , params: { courseId } })
58- }, {
5955 title: ' Preview' ,
6056 icon: ' eye' ,
6157 action : () => window .open (this .previewUrl , ' _blank' )
58+ }, {
59+ title: ' Back' ,
60+ icon: ' arrow-left' ,
61+ action : () => $router .push ({ name: ' course' , params: { courseId } })
6262 }];
6363 if (! this .isAdmin && ! this .isCourseAdmin ) return items;
64- return items . concat ( {
64+ return [ {
6565 title: ' Publish' ,
6666 icon: ' upload' ,
6767 action : () => this .confirmPublishing ()
68- });
68+ }]. concat (items );
6969 },
7070 previewUrl () {
7171 if (! PREVIEW_URL ) return ;
@@ -80,6 +80,6 @@ export default {
8080
8181<style lang="scss" scoped>
8282.actions {
83- padding-top : 105 px ;
83+ padding-top : 60 px ;
8484}
8585 </style >
You can’t perform that action at this time.
0 commit comments