Lines 141-157
export default {
Link Here
|
141 |
beforeRouteEnter(to, from, next) { |
141 |
beforeRouteEnter(to, from, next) { |
142 |
next(vm => { |
142 |
next(vm => { |
143 |
vm.getLibraries().then(() => |
143 |
vm.getLibraries().then(() => |
144 |
vm |
144 |
vm.getCategories().then(() => |
145 |
.getCategories() |
145 |
vm.getItemTypes().then(() => |
146 |
.then(() => |
146 |
vm.getCircRules({}, true).then(() => { |
147 |
vm |
147 |
vm.tabSelected = to.query.trigger |
148 |
.getItemTypes() |
148 |
? `Notice ${to.query.trigger}` |
149 |
.then(() => |
149 |
: "Notice 1" |
150 |
vm |
150 |
vm.initialized = true |
151 |
.getCircRules({}, true) |
151 |
}) |
152 |
.then(() => (vm.initialized = true)) |
|
|
153 |
) |
154 |
) |
152 |
) |
|
|
153 |
) |
155 |
) |
154 |
) |
156 |
}) |
155 |
}) |
157 |
}, |
156 |
}, |
158 |
- |
|
|