fix: Recorder routing

This commit is contained in:
Suraj Shetty 2021-01-28 19:50:46 +05:30
parent 50bfd9f6db
commit d28fd926db
4 changed files with 14 additions and 8 deletions

View file

@ -2,7 +2,8 @@ frappe.pages['recorder'].on_page_load = function(wrapper) {
frappe.ui.make_app_page({
parent: wrapper,
title: 'Recorder',
single_column: true
single_column: true,
card_layout: true
});
frappe.recorder = new Recorder(wrapper);

View file

@ -1,11 +1,6 @@
<template>
<div>
<div class="frappe-list">
<div class="list-filters"></div>
<div style="margin-bottom:9px" class="list-toolbar-wrapper hide">
<div class="list-toolbar btn-group" style="display:inline-block; margin-right: 10px;"></div>
</div>
<div style="clear:both"></div>
<div class="page-form">
<div class="filter-list">
<div class="tag-filters-area">
<div class="active-tag-filters">
@ -26,6 +21,13 @@
</button>
</div>
</div>
</div>
<div class="frappe-list">
<div class="list-filters"></div>
<div style="margin-bottom:9px" class="list-toolbar-wrapper hide">
<div class="list-toolbar btn-group" style="display:inline-block; margin-right: 10px;"></div>
</div>
<div style="clear:both"></div>
<div v-if="requests.length != 0" class="result">
<div class="list-headers">
<header class="level list-row list-row-head text-muted small">

View file

@ -7,5 +7,8 @@
<script>
export default {
name: "RecorderRoot",
created() {
this.$router.push({name: 'recorder-detail'});
},
};
</script>

View file

@ -10,7 +10,7 @@ Vue.use(VueRouter);
const routes = [
{
name: "recorder-detail",
path: '/app',
path: '/detail',
component: RecorderDetail,
},
{