View | Details | Raw Unified | Return to bug 30708
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/Main.vue (-8 / +4 lines)
Lines 17-32 Link Here
17
                                <h5>{{ $__("Preservation") }}</h5>
17
                                <h5>{{ $__("Preservation") }}</h5>
18
                                <ul>
18
                                <ul>
19
                                    <li>
19
                                    <li>
20
                                        <router-link
20
                                        <router-link :to="{ name: 'Home' }">
21
                                            to="/cgi-bin/koha/preservation/home.pl"
22
                                        >
23
                                            <i class="fa fa-home"></i>
21
                                            <i class="fa fa-home"></i>
24
                                            {{ $__("Home") }}</router-link
22
                                            {{ $__("Home") }}</router-link
25
                                        >
23
                                        >
26
                                    </li>
24
                                    </li>
27
                                    <li>
25
                                    <li>
28
                                        <router-link
26
                                        <router-link
29
                                            to="/cgi-bin/koha/preservation/trains"
27
                                            :to="{ name: 'TrainsList' }"
30
                                        >
28
                                        >
31
                                            <i class="fa fa-train"></i>
29
                                            <i class="fa fa-train"></i>
32
                                            {{ $__("Trains") }}</router-link
30
                                            {{ $__("Trains") }}</router-link
Lines 34-49 Link Here
34
                                    </li>
32
                                    </li>
35
                                    <li>
33
                                    <li>
36
                                        <router-link
34
                                        <router-link
37
                                            to="/cgi-bin/koha/preservation/waiting-list"
35
                                            :to="{ name: 'WaitingList' }"
38
                                        >
36
                                        >
39
                                            <i class="fa fa-recycle"></i>
37
                                            <i class="fa fa-recycle"></i>
40
                                            {{ $__("Waiting list") }}
38
                                            {{ $__("Waiting list") }}
41
                                        </router-link>
39
                                        </router-link>
42
                                    </li>
40
                                    </li>
43
                                    <li>
41
                                    <li>
44
                                        <router-link
42
                                        <router-link :to="{ name: 'Settings' }">
45
                                            to="/cgi-bin/koha/preservation/settings"
46
                                        >
47
                                            <i class="fa fa-cog"></i>
43
                                            <i class="fa fa-cog"></i>
48
                                            {{ $__("Settings") }}
44
                                            {{ $__("Settings") }}
49
                                        </router-link>
45
                                        </router-link>
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/Settings.vue (-1 / +1 lines)
Lines 59-65 Link Here
59
                <fieldset class="action">
59
                <fieldset class="action">
60
                    <input type="submit" value="Submit" />
60
                    <input type="submit" value="Submit" />
61
                    <router-link
61
                    <router-link
62
                        to="/cgi-bin/koha/preservation/home.pl"
62
                        :to="{ name: 'Home' }"
63
                        role="button"
63
                        role="button"
64
                        class="cancel"
64
                        class="cancel"
65
                        >{{ $__("Cancel") }}</router-link
65
                        >{{ $__("Cancel") }}</router-link
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/SettingsProcessings.vue (-3 / +9 lines)
Lines 9-15 Link Here
9
                v-bind:key="counter"
9
                v-bind:key="counter"
10
            >
10
            >
11
                <router-link
11
                <router-link
12
                    :to="`/cgi-bin/koha/preservation/settings/processings/${processing.processing_id}`"
12
                    :to="{
13
                        name: 'SettingsProcessingsShow',
14
                        params: { processing_id: processing.processing_id },
15
                    }"
13
                >
16
                >
14
                    {{ processing.name }}
17
                    {{ processing.name }}
15
                </router-link>
18
                </router-link>
Lines 21-27 Link Here
21
                    >
24
                    >
22
25
23
                    <router-link
26
                    <router-link
24
                        :to="`/cgi-bin/koha/preservation/settings/processings/edit/${processing.processing_id}`"
27
                        :to="{
28
                            name: 'SettingsProcessingsFormEdit',
29
                            params: { processing_id: processing.processing_id },
30
                        }"
25
                        ><i class="fa fa-pencil"></i>
31
                        ><i class="fa fa-pencil"></i>
26
                        {{ $__("Edit this processing") }}</router-link
32
                        {{ $__("Edit this processing") }}</router-link
27
                    >
33
                    >
Lines 29-35 Link Here
29
            </li>
35
            </li>
30
        </ol>
36
        </ol>
31
        <router-link
37
        <router-link
32
            to="/cgi-bin/koha/preservation/settings/processings/add"
38
            :to="{ name: 'SettingsProcessingsFormAdd' }"
33
            role="button"
39
            role="button"
34
            class="btn btn-default"
40
            class="btn btn-default"
35
            ><font-awesome-icon icon="plus" />
41
            ><font-awesome-icon icon="plus" />
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/SettingsProcessingsFormAdd.vue (-3 / +3 lines)
Lines 168-174 Link Here
168
                <fieldset class="action">
168
                <fieldset class="action">
169
                    <input type="submit" value="Submit" />
169
                    <input type="submit" value="Submit" />
170
                    <router-link
170
                    <router-link
171
                        to="/cgi-bin/koha/preservation/settings"
171
                        :to="{ name: 'Settings' }"
172
                        role="button"
172
                        role="button"
173
                        class="cancel"
173
                        class="cancel"
174
                        >{{ $__("Cancel") }}</router-link
174
                        >{{ $__("Cancel") }}</router-link
Lines 276-282 export default { Link Here
276
                client.processings.update(processing, processing_id).then(
276
                client.processings.update(processing, processing_id).then(
277
                    success => {
277
                    success => {
278
                        this.setMessage(this.$__("Processing updated"))
278
                        this.setMessage(this.$__("Processing updated"))
279
                        this.$router.push("/cgi-bin/koha/preservation/settings")
279
                        this.$router.push({ name: "Settings" })
280
                    },
280
                    },
281
                    error => {}
281
                    error => {}
282
                )
282
                )
Lines 284-290 export default { Link Here
284
                client.processings.create(processing).then(
284
                client.processings.create(processing).then(
285
                    success => {
285
                    success => {
286
                        this.setMessage(this.$__("Processing created"))
286
                        this.setMessage(this.$__("Processing created"))
287
                        this.$router.push("/cgi-bin/koha/preservation/settings")
287
                        this.$router.push({ name: "Settings" })
288
                    },
288
                    },
289
                    error => {}
289
                    error => {}
290
                )
290
                )
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/SettingsProcessingsShow.vue (-5 / +6 lines)
Lines 5-11 Link Here
5
            {{ $__("Processing #%s").format(processing.processing_id) }}
5
            {{ $__("Processing #%s").format(processing.processing_id) }}
6
            <span class="action_links">
6
            <span class="action_links">
7
                <router-link
7
                <router-link
8
                    :to="`/cgi-bin/koha/preservation/settings/processings/edit/${processing.processing_id}`"
8
                    :to="{
9
                        name: 'SettingsProcessingsFormEdit',
10
                        params: { processing_id: processing.processing_id },
11
                    }"
9
                    :title="$__('Edit')"
12
                    :title="$__('Edit')"
10
                    ><i class="fa fa-pencil"></i
13
                    ><i class="fa fa-pencil"></i
11
                ></router-link>
14
                ></router-link>
Lines 55-61 Link Here
55
            </fieldset>
58
            </fieldset>
56
            <fieldset class="action">
59
            <fieldset class="action">
57
                <router-link
60
                <router-link
58
                    to="/cgi-bin/koha/preservation/settings"
61
                    :to="{ name: 'Settings' }"
59
                    role="button"
62
                    role="button"
60
                    class="cancel"
63
                    class="cancel"
61
                    >{{ $__("Close") }}</router-link
64
                    >{{ $__("Close") }}</router-link
Lines 129-137 export default { Link Here
129
                                    ),
132
                                    ),
130
                                    true
133
                                    true
131
                                )
134
                                )
132
                                this.$router.push(
135
                                this.$router.push({ name: "Settings" })
133
                                    "/cgi-bin/koha/preservation/settings"
134
                                )
135
                            },
136
                            },
136
                            error => {}
137
                            error => {}
137
                        )
138
                        )
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAdd.vue (-3 / +3 lines)
Lines 79-85 Link Here
79
                <fieldset class="action">
79
                <fieldset class="action">
80
                    <input type="submit" value="Submit" />
80
                    <input type="submit" value="Submit" />
81
                    <router-link
81
                    <router-link
82
                        to="/cgi-bin/koha/preservation/trains"
82
                        :to="{ name: 'TrainsList' }"
83
                        role="button"
83
                        role="button"
84
                        class="cancel"
84
                        class="cancel"
85
                        >{{ $__("Cancel") }}</router-link
85
                        >{{ $__("Cancel") }}</router-link
Lines 176-182 export default { Link Here
176
                client.trains.update(train, train_id).then(
176
                client.trains.update(train, train_id).then(
177
                    success => {
177
                    success => {
178
                        this.setMessage(this.$__("Train updated"))
178
                        this.setMessage(this.$__("Train updated"))
179
                        this.$router.push("/cgi-bin/koha/preservation/trains")
179
                        this.$router.push({ name: "TrainsList" })
180
                    },
180
                    },
181
                    error => {}
181
                    error => {}
182
                )
182
                )
Lines 184-190 export default { Link Here
184
                client.trains.create(train).then(
184
                client.trains.create(train).then(
185
                    success => {
185
                    success => {
186
                        this.setMessage(this.$__("Train created"))
186
                        this.setMessage(this.$__("Train created"))
187
                        this.$router.push("/cgi-bin/koha/preservation/trains")
187
                        this.$router.push({ name: "TrainsList" })
188
                    },
188
                    },
189
                    error => {}
189
                    error => {}
190
                )
190
                )
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAddItem.vue (-10 / +13 lines)
Lines 96-102 Link Here
96
                <fieldset class="action">
96
                <fieldset class="action">
97
                    <input type="submit" value="Submit" />
97
                    <input type="submit" value="Submit" />
98
                    <router-link
98
                    <router-link
99
                        to="/cgi-bin/koha/preservation/trains"
99
                        :to="{ name: 'TrainsList' }"
100
                        role="button"
100
                        role="button"
101
                        class="cancel"
101
                        class="cancel"
102
                        >{{ $__("Cancel") }}</router-link
102
                        >{{ $__("Cancel") }}</router-link
Lines 125-131 Link Here
125
                <fieldset class="action">
125
                <fieldset class="action">
126
                    <input type="submit" value="Submit" />
126
                    <input type="submit" value="Submit" />
127
                    <router-link
127
                    <router-link
128
                        :to="`/cgi-bin/koha/preservation/trains/${train.train_id}`"
128
                        :to="{
129
                            name: 'TrainsShow',
130
                            params: { train_id: train.train_id },
131
                        }"
129
                        role="button"
132
                        role="button"
130
                        class="cancel"
133
                        class="cancel"
131
                        >{{ $__("Cancel") }}</router-link
134
                        >{{ $__("Cancel") }}</router-link
Lines 351-360 export default { Link Here
351
                    .then(
354
                    .then(
352
                        success => {
355
                        success => {
353
                            this.setMessage(this.$__("Item updated"))
356
                            this.setMessage(this.$__("Item updated"))
354
                            this.$router.push(
357
                            this.$router.push({
355
                                "/cgi-bin/koha/preservation/trains/" +
358
                                name: "TrainsShow",
356
                                    this.train.train_id
359
                                params: { train_id: this.train.train_id },
357
                            )
360
                            })
358
                        },
361
                        },
359
                        error => {}
362
                        error => {}
360
                    )
363
                    )
Lines 362-371 export default { Link Here
362
                client.train_items.create(train_item, this.train.train_id).then(
365
                client.train_items.create(train_item, this.train.train_id).then(
363
                    success => {
366
                    success => {
364
                        this.setMessage(this.$__("Item added to train"))
367
                        this.setMessage(this.$__("Item added to train"))
365
                        this.$router.push(
368
                        this.$router.push({
366
                            "/cgi-bin/koha/preservation/trains/" +
369
                            name: "TrainsShow",
367
                                this.train.train_id
370
                            params: { train_id: this.train.train_id },
368
                        )
371
                        })
369
                    },
372
                    },
370
                    error => {}
373
                    error => {}
371
                )
374
                )
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsFormAddItems.vue (-6 / +5 lines)
Lines 90-96 Link Here
90
            <fieldset class="action">
90
            <fieldset class="action">
91
                <input type="submit" value="Submit" />
91
                <input type="submit" value="Submit" />
92
                <router-link
92
                <router-link
93
                    to="/cgi-bin/koha/preservation/trains"
93
                    :to="{ name: 'TrainsList' }"
94
                    role="button"
94
                    role="button"
95
                    class="cancel"
95
                    class="cancel"
96
                    >{{ $__("Cancel") }}</router-link
96
                    >{{ $__("Cancel") }}</router-link
Lines 264-274 export default { Link Here
264
                                "%s items have been added to train %s."
264
                                "%s items have been added to train %s."
265
                            ).format(result.length, this.train.train_id)
265
                            ).format(result.length, this.train.train_id)
266
                        )
266
                        )
267
267
                        this.$router.push({
268
                        this.$router.push(
268
                            name: "TrainsShow",
269
                            "/cgi-bin/koha/preservation/trains/" +
269
                            params: { train_id: this.train.train_id },
270
                                this.train.train_id
270
                        })
271
                        )
272
                    } else {
271
                    } else {
273
                        this.setMessage(
272
                        this.setMessage(
274
                            this.$__("No items have been added to the train.")
273
                            this.$__("No items have been added to the train.")
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsList.vue (-12 / +13 lines)
Lines 3-9 Link Here
3
    <div v-else id="trains_list">
3
    <div v-else id="trains_list">
4
        <Toolbar>
4
        <Toolbar>
5
            <ToolbarButton
5
            <ToolbarButton
6
                to="/cgi-bin/koha/preservation/trains/add"
6
                :to="{ name: 'TrainsFormAdd' }"
7
                icon="plus"
7
                icon="plus"
8
                :title="$__('New train')"
8
                :title="$__('New train')"
9
            />
9
            />
Lines 138-151 export default { Link Here
138
        },
138
        },
139
        doShow: function (train, dt, event) {
139
        doShow: function (train, dt, event) {
140
            event.preventDefault()
140
            event.preventDefault()
141
            this.$router.push(
141
            this.$router.push({
142
                "/cgi-bin/koha/preservation/trains/" + train.train_id
142
                name: "TrainsShow",
143
            )
143
                params: { train_id: train.train_id },
144
            })
144
        },
145
        },
145
        doEdit: function (train, dt, event) {
146
        doEdit: function (train, dt, event) {
146
            this.$router.push(
147
            this.$router.push({
147
                "/cgi-bin/koha/preservation/trains/edit/" + train.train_id
148
                name: "TrainsFormEdit",
148
            )
149
                params: { train_id: train.train_id },
150
            })
149
        },
151
        },
150
        doDelete: function (train, dt, event) {
152
        doDelete: function (train, dt, event) {
151
            this.setConfirmationDialog(
153
            this.setConfirmationDialog(
Lines 176-186 export default { Link Here
176
            if (train.closed_on != null) {
178
            if (train.closed_on != null) {
177
                this.setWarning(this.$__("Cannot add items to a closed train"))
179
                this.setWarning(this.$__("Cannot add items to a closed train"))
178
            } else {
180
            } else {
179
                this.$router.push(
181
                this.$router.push({
180
                    "/cgi-bin/koha/preservation/trains/" +
182
                    name: "TrainsFormAddItem",
181
                        train.train_id +
183
                    params: { train_id: train.train_id },
182
                        "/items/add"
184
                })
183
                )
184
            }
185
            }
185
        },
186
        },
186
        table_url() {
187
        table_url() {
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/TrainsShow.vue (-9 / +14 lines)
Lines 50-56 Link Here
50
        <Toolbar>
50
        <Toolbar>
51
            <ToolbarButton
51
            <ToolbarButton
52
                v-if="train.closed_on == null"
52
                v-if="train.closed_on == null"
53
                :to="`/cgi-bin/koha/preservation/trains/${train.train_id}/items/add`"
53
                :to="{
54
                    name: 'TrainsFormAddItem',
55
                    params: { train_id: train.train_id },
56
                }"
54
                class="btn btn-default"
57
                class="btn btn-default"
55
                icon="plus"
58
                icon="plus"
56
                :title="$__('Add items')"
59
                :title="$__('Add items')"
Lines 64-70 Link Here
64
                <font-awesome-icon icon="plus" /> {{ $__("Add items") }}
67
                <font-awesome-icon icon="plus" /> {{ $__("Add items") }}
65
            </span>
68
            </span>
66
            <ToolbarButton
69
            <ToolbarButton
67
                :to="`/cgi-bin/koha/preservation/trains/edit/${train.train_id}`"
70
                :to="{
71
                    name: 'TrainsFormEdit',
72
                    params: { train_id: train.train_id },
73
                }"
68
                class="btn btn-default"
74
                class="btn btn-default"
69
                icon="pencil"
75
                icon="pencil"
70
                :title="$__('Edit')"
76
                :title="$__('Edit')"
Lines 199-205 Link Here
199
            </fieldset>
205
            </fieldset>
200
            <fieldset class="action">
206
            <fieldset class="action">
201
                <router-link
207
                <router-link
202
                    to="/cgi-bin/koha/preservation/trains"
208
                    :to="{ name: 'TrainsList' }"
203
                    role="button"
209
                    role="button"
204
                    class="cancel"
210
                    class="cancel"
205
                    >{{ $__("Close") }}</router-link
211
                    >{{ $__("Close") }}</router-link
Lines 354-362 export default { Link Here
354
                                this.$__("Train %s deleted").format(train.name),
360
                                this.$__("Train %s deleted").format(train.name),
355
                                true
361
                                true
356
                            )
362
                            )
357
                            this.$router.push(
363
                            this.$router.push({ name: "TrainsList" })
358
                                "/cgi-bin/koha/preservation/trains"
359
                            )
360
                        },
364
                        },
361
                        error => {}
365
                        error => {}
362
                    )
366
                    )
Lines 400-408 export default { Link Here
400
            )
404
            )
401
        },
405
        },
402
        editItem(train_item_id) {
406
        editItem(train_item_id) {
403
            this.$router.push(
407
            this.$router.push({
404
                `/cgi-bin/koha/preservation/trains/${this.train.train_id}/items/edit/${train_item_id}`
408
                name: "TrainsFormEditItem",
405
            )
409
                params: { train_id: this.train.train_id, train_item_id },
410
            })
406
        },
411
        },
407
        removeItem(train_item_id) {
412
        removeItem(train_item_id) {
408
            this.setConfirmationDialog(
413
            this.setConfirmationDialog(
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/WaitingList.vue (-6 / +7 lines)
Lines 191-202 export default { Link Here
191
        addItemsToTrain: function (e) {
191
        addItemsToTrain: function (e) {
192
            e.preventDefault()
192
            e.preventDefault()
193
            let item_ids = this.last_items.map(i => i.item_id)
193
            let item_ids = this.last_items.map(i => i.item_id)
194
            this.$router.push(
194
            this.$router.push({
195
                "/cgi-bin/koha/preservation/trains/" +
195
                name: "TrainsFormAddItems",
196
                    this.train_id_selected_for_add +
196
                params: {
197
                    "/items/add/" +
197
                    train_id: this.train_id_selected_for_add,
198
                    item_ids.join(",")
198
                    item_ids: item_ids.join(","),
199
            )
199
                },
200
            })
200
        },
201
        },
201
        addItemsToWaitingList: function (e) {
202
        addItemsToWaitingList: function (e) {
202
            e.preventDefault()
203
            e.preventDefault()
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/routes/preservation.js (-1 / +13 lines)
Lines 75-80 export const routes = [ Link Here
75
    },
75
    },
76
    {
76
    {
77
        path: "/cgi-bin/koha/preservation/home.pl",
77
        path: "/cgi-bin/koha/preservation/home.pl",
78
        name: "Home",
78
        component: Home,
79
        component: Home,
79
        meta: {
80
        meta: {
80
            breadcrumb: () => [breadcrumbs.home, breadcrumbs.preservation_home],
81
            breadcrumb: () => [breadcrumbs.home, breadcrumbs.preservation_home],
Lines 85-90 export const routes = [ Link Here
85
        children: [
86
        children: [
86
            {
87
            {
87
                path: "",
88
                path: "",
89
                name: "TrainsList",
88
                component: TrainsList,
90
                component: TrainsList,
89
                meta: {
91
                meta: {
90
                    breadcrumb: () => breadcrumb_paths.trains,
92
                    breadcrumb: () => breadcrumb_paths.trains,
Lines 95-100 export const routes = [ Link Here
95
                children: [
97
                children: [
96
                    {
98
                    {
97
                        path: "",
99
                        path: "",
100
                        name: "TrainsShow",
98
                        component: TrainsShow,
101
                        component: TrainsShow,
99
                        meta: {
102
                        meta: {
100
                            breadcrumb: () =>
103
                            breadcrumb: () =>
Lines 109-114 export const routes = [ Link Here
109
                        children: [
112
                        children: [
110
                            {
113
                            {
111
                                path: "add",
114
                                path: "add",
115
                                name: "TrainsFormAddItem",
112
                                component: TrainsFormAddItem,
116
                                component: TrainsFormAddItem,
113
                                meta: {
117
                                meta: {
114
                                    breadcrumb: () =>
118
                                    breadcrumb: () =>
Lines 120-125 export const routes = [ Link Here
120
                            },
124
                            },
121
                            {
125
                            {
122
                                path: "add/:item_ids",
126
                                path: "add/:item_ids",
127
                                name: "TrainsFormAddItems",
123
                                component: TrainsFormAddItems,
128
                                component: TrainsFormAddItems,
124
                                meta: {
129
                                meta: {
125
                                    breadcrumb: () =>
130
                                    breadcrumb: () =>
Lines 131-136 export const routes = [ Link Here
131
                            },
136
                            },
132
                            {
137
                            {
133
                                path: "edit/:train_item_id",
138
                                path: "edit/:train_item_id",
139
                                name: "TrainsFormEditItem",
134
                                component: TrainsFormAddItem,
140
                                component: TrainsFormAddItem,
135
                                meta: {
141
                                meta: {
136
                                    breadcrumb: () =>
142
                                    breadcrumb: () =>
Lines 146-151 export const routes = [ Link Here
146
            },
152
            },
147
            {
153
            {
148
                path: "add",
154
                path: "add",
155
                name: "TrainsFormAdd",
149
                component: TrainsFormAdd,
156
                component: TrainsFormAdd,
150
                meta: {
157
                meta: {
151
                    breadcrumb: () =>
158
                    breadcrumb: () =>
Lines 157-162 export const routes = [ Link Here
157
            },
164
            },
158
            {
165
            {
159
                path: "edit/:train_id",
166
                path: "edit/:train_id",
167
                name: "TrainsFormEdit",
160
                component: TrainsFormAdd,
168
                component: TrainsFormAdd,
161
                meta: {
169
                meta: {
162
                    breadcrumb: () =>
170
                    breadcrumb: () =>
Lines 170-175 export const routes = [ Link Here
170
    },
178
    },
171
    {
179
    {
172
        path: "/cgi-bin/koha/preservation/waiting-list",
180
        path: "/cgi-bin/koha/preservation/waiting-list",
181
        name: "WaitingList",
173
        component: WaitingList,
182
        component: WaitingList,
174
        meta: {
183
        meta: {
175
            breadcrumb: () => [
184
            breadcrumb: () => [
Lines 184-189 export const routes = [ Link Here
184
        children: [
193
        children: [
185
            {
194
            {
186
                path: "",
195
                path: "",
196
                name: "Settings",
187
                component: Settings,
197
                component: Settings,
188
                meta: {
198
                meta: {
189
                    breadcrumb: () => breadcrumb_paths.settings,
199
                    breadcrumb: () => breadcrumb_paths.settings,
Lines 194-199 export const routes = [ Link Here
194
                children: [
204
                children: [
195
                    {
205
                    {
196
                        path: ":processing_id",
206
                        path: ":processing_id",
207
                        name: "SettingsProcessingsShow",
197
                        component: SettingsProcessingsShow,
208
                        component: SettingsProcessingsShow,
198
                        meta: {
209
                        meta: {
199
                            breadcrumb: () =>
210
                            breadcrumb: () =>
Lines 205-210 export const routes = [ Link Here
205
                    },
216
                    },
206
                    {
217
                    {
207
                        path: "add",
218
                        path: "add",
219
                        name: "SettingsProcessingsFormAdd",
208
                        component: SettingsProcessingsFormAdd,
220
                        component: SettingsProcessingsFormAdd,
209
                        meta: {
221
                        meta: {
210
                            breadcrumb: () =>
222
                            breadcrumb: () =>
Lines 216-221 export const routes = [ Link Here
216
                    },
228
                    },
217
                    {
229
                    {
218
                        path: "edit/:processing_id",
230
                        path: "edit/:processing_id",
231
                        name: "SettingsProcessingsFormEdit",
219
                        component: SettingsProcessingsFormAdd,
232
                        component: SettingsProcessingsFormAdd,
220
                        meta: {
233
                        meta: {
221
                            breadcrumb: () =>
234
                            breadcrumb: () =>
222
- 

Return to bug 30708