Commit 55e1f3fa authored by Cornee Traas's avatar Cornee Traas
Browse files

Misc fixes

parent 1fd49dca
Pipeline #2534 failed with stages
in 1 minute and 1 second
......@@ -220,9 +220,9 @@ import {
Breadcrumb
} from "@coreui/vue";
import DefaultHeaderDropdownAccnt from "./DefaultHeaderDropdownAccnt";
import BottombarNav from "../views/sidebars/BottombarNav";
import TopbarNav from "../views/sidebars/TopbarNav";
import BackButton from "../views/sidebars/sidebaritems/BackButton";
import BottombarNav from "@/views/sidebars/BottombarNav";
import TopbarNav from "@/views/sidebars/TopbarNav";
import BackButton from "@/views/sidebars/sidebaritems/BackButton";
import MultiSelect from "@/components/MultiSelect";
import Datepicker from "vuejs-datepicker";
import { EventBus } from "@/event-bus";
......@@ -636,17 +636,17 @@ export default {
},
setCoursePages() {
this.top_nav[3] = [];
for (var coursepPage of settings.course_pages) {
for (var coursePage of settings.course_pages) {
this.top_nav[3].push({
name: coursepPage.name,
icon: coursepPage.icon,
name: coursePage.name,
icon: coursePage.icon,
url:
"/p/" +
this.selectedPlatform +
"/" +
this.selectedCourse +
"/" +
coursepPage.slug,
coursePage.slug,
});
}
},
......
export default {
course_pages: [{
name: "Videos",
slug: "videos",
icon: "fa fa-video-camera",
},
{
name: "Quizzes",
slug: "quizzes",
icon: "fa fa-check",
},
{
name: "Assignments",
slug: "assignments",
icon: "cui-calendar",
},
name: "Videos",
slug: "videos",
icon: "fa fa-video-camera",
},
{
name: "Quizzes",
slug: "quizzes",
icon: "fa fa-check",
},
{
name: "Assignments",
slug: "assignments",
icon: "cui-calendar",
},
],
resources: [{
name: "Coursera for Educators",
link: "https://blog.coursera.org/for-educators/",
},],
}, ],
// Subroutes excluded the breadcrumb
excludeFromBreadcrumb: [
......@@ -41,5 +42,5 @@ export default {
}, {
name: "Admin",
id: "admin",
},],
}, ],
}
......@@ -283,7 +283,7 @@ describe('DefaultContainer.vue', () => {
// Add action modal
it('Add action modal is reachable', (done) => {
moxios.stubRequest(/.*actions\/default*/, {
moxios.stubRequest(/.*actions.default*/, {
status: 200,
response: [{
title: "action 1",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment