|
Lines 455-461
export default {
Link Here
|
| 455 |
client.counter_registry.getAll({ name: query }).then( |
455 |
client.counter_registry.getAll({ name: query }).then( |
| 456 |
registry_data => { |
456 |
registry_data => { |
| 457 |
this.registry_data = registry_data |
457 |
this.registry_data = registry_data |
| 458 |
if (caller === "edit") { |
458 |
if (caller === "edit" && registry_data.length > 0) { |
| 459 |
this.selected_provider = registry_data.find( |
459 |
this.selected_provider = registry_data.find( |
| 460 |
platform => |
460 |
platform => |
| 461 |
platform.name === this.usage_data_provider.name |
461 |
platform.name === this.usage_data_provider.name |
|
Lines 466-471
export default {
Link Here
|
| 466 |
r => r.report_id === report.value |
466 |
r => r.report_id === report.value |
| 467 |
) |
467 |
) |
| 468 |
) |
468 |
) |
|
|
469 |
} else { |
| 470 |
this.manual_form = true |
| 469 |
} |
471 |
} |
| 470 |
this.searching = false |
472 |
this.searching = false |
| 471 |
this.initialized = true |
473 |
this.initialized = true |
| 472 |
- |
|
|