Skip to content
Snippets Groups Projects
Commit e17a6c28 authored by MonaS8's avatar MonaS8
Browse files

change name AnalysisView to SessionListView

parent 547523ec
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -63,7 +63,7 @@
async function goToSessionAnalysis(roomSession: RoomSession) {
router.push({
path: '/analysis/sessionAnalysis',
path: '/sessions/sessionAnalysis',
query: {
roomName: roomSession.roomName,
roomId: roomSession.roomId.toString(),
......
......@@ -85,7 +85,7 @@
<div>
<button
class="btn btn-sm text-secondary me-2"
@click.stop="goToAnalysis(room)"
@click.stop="goToSessions(room)"
>
<i class="fa fa-chart-line"></i>
</button>
......@@ -240,9 +240,9 @@
channel.close(room.channelId);
}
async function goToAnalysis(room: Room) {
async function goToSessions(room: Room) {
router.push({
path: '/analysis',
path: '/sessions',
query: {
roomName: room.name,
roomId: room.id.toString()
......
......@@ -84,9 +84,9 @@ const router = createRouter({
* Room Session List Route
*/
{
path: '/analysis',
name: 'analysis',
component: () => import('../views/AnalysisView.vue'),
path: '/sessions',
name: 'sessionList',
component: () => import('../views/SessionListView.vue'),
beforeEnter: authGuard,
},
......@@ -94,7 +94,7 @@ const router = createRouter({
* Session Analysis Route
*/
{
path: '/analysis/sessionAnalysis',
path: '/sessions/sessionAnalysis',
name: 'sessionAnalysis',
component: () => import('../views/SessionAnalysisView.vue'),
beforeEnter: authGuard,
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment