Skip to content

Commit a038524

Browse files
committed
Components names, disable Help links and routes
1 parent 34b651c commit a038524

File tree

7 files changed

+9
-7
lines changed

7 files changed

+9
-7
lines changed

src/components/Control.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ import sidebar from "../components/Sidebar"
124124
125125
export default {
126126
components: { sidebar },
127-
name: 'HelloWorld',
127+
name: 'Control',
128128
methods: {
129129
say() {
130130
let CBv1 = this.CBv1

src/components/Gallery.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ import sidebar from "../components/Sidebar"
4949
5050
export default {
5151
components: { sidebar },
52-
name: 'HelloWorld',
52+
name: 'Gallery',
5353
mounted() {
5454
this.getPhotos()
5555
},

src/components/Help.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import sidebar from "../components/Sidebar"
1515
1616
export default {
1717
components: { sidebar },
18-
name: 'HelloWorld',
18+
name: 'Help',
1919
methods: {
2020
toggleSidebar: function() {
2121
let currentStatus = this.$store.getters.drawerStatus

src/components/Landing.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ import sidebar from "../components/Sidebar"
5555
5656
export default {
5757
components: { sidebar },
58-
name: 'HelloWorld',
58+
name: 'CoderBot',
5959
methods: {
6060
toggleSidebar: function() {
6161
let currentStatus = this.$store.getters.drawerStatus

src/components/Settings.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ import sidebar from "../components/Sidebar"
200200
201201
export default {
202202
components: { sidebar },
203-
name: 'HelloWorld',
203+
name: 'Settings',
204204
mounted() {
205205
this.pollStatus();
206206
setInterval(function() {

src/components/Sidebar.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<v-list-tile-title class="navEntry">Home</v-list-tile-title>
1111
</v-list-tile-content>
1212
</v-list-tile>
13+
<!--
1314
<v-list-tile to="/help">
1415
<v-list-tile-action>
1516
<v-icon large>help</v-icon>
@@ -18,6 +19,7 @@
1819
<v-list-tile-title class="navEntry">Aiuto</v-list-tile-title>
1920
</v-list-tile-content>
2021
</v-list-tile>
22+
-->
2123
<br>
2224
<v-divider>
2325
</v-divider>

src/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import blockly from './components/Blockly';
3232
//import activityEditor from './components/ActivityEditor'
3333
import settings from './components/Settings'
3434
import gallery from './components/Gallery'
35-
import help from './components/Help'
35+
//import help from './components/Help'
3636
import credits from './components/Credits'
3737

3838
// Utilities
@@ -58,7 +58,7 @@ const routes = [
5858
{ path: '/program', component: blockly, meta: {title: 'CoderBot - Blockly'}},
5959
{ path: '/settings', component: settings , meta: {title: 'CoderBot - Impostazioni'}},
6060
{ path: '/gallery', component: gallery, meta: {title: 'CoderBot - Galleria'}},
61-
{ path: '/help', component: help, meta: {title: 'CoderBot - Aiuto'}},
61+
//{ path: '/help', component: help, meta: {title: 'CoderBot - Aiuto'}},
6262
{ path: '/credits', component: credits, meta: {title: 'CoderBot - Crediti'}},
6363
//{ path: '/ar', component: arexample, meta: {title: 'CoderBot'} },
6464
//{ path: '/new', component: activityEditor, meta: {title: 'CoderBot - Nuova Attività'}},

0 commit comments

Comments
 (0)