Lines 138-144
export default {
Link Here
|
138 |
return { |
138 |
return { |
139 |
initialized: false, |
139 |
initialized: false, |
140 |
libraries: null, |
140 |
libraries: null, |
141 |
selectedLibrary: "*", |
141 |
selectedLibrary: default_view, |
142 |
circRules: null, |
142 |
circRules: null, |
143 |
numberOfTabs: [1], |
143 |
numberOfTabs: [1], |
144 |
tabSelected: "Notice 1", |
144 |
tabSelected: "Notice 1", |
Lines 201-211
export default {
Link Here
|
201 |
error => {} |
201 |
error => {} |
202 |
); |
202 |
); |
203 |
}, |
203 |
}, |
204 |
async getCircRules(params = {}, pageLoad) { |
204 |
async getCircRules(params = {}) { |
205 |
params.effective = false; |
205 |
params.effective = false; |
206 |
if (pageLoad) { |
|
|
207 |
params.library_id = "*"; |
208 |
} |
209 |
const client = APIClient.circRule; |
206 |
const client = APIClient.circRule; |
210 |
await client.circRules.getAll({}, params).then( |
207 |
await client.circRules.getAll({}, params).then( |
211 |
rules => { |
208 |
rules => { |
212 |
- |
|
|