| Total Complexity | 3 |
| Complexity/F | 1 |
| Lines of Code | 24 |
| Function Count | 3 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | /** |
||
| 15 | export default { |
||
| 16 | props: { |
||
| 17 | itemToReplace: { |
||
| 18 | type: Object, |
||
| 19 | required: true, |
||
| 20 | }, |
||
| 21 | }, |
||
| 22 | |||
| 23 | data() { |
||
| 24 | return { |
||
| 25 | multiSelect: false, |
||
| 26 | }; |
||
| 27 | }, |
||
| 28 | |||
| 29 | methods: { |
||
| 30 | getMediaEntityForUpload() { |
||
| 31 | return this.itemToReplace; |
||
| 32 | }, |
||
| 33 | |||
| 34 | cleanUpFailure(mediaEntity, message) { |
||
| 35 | this.createNotificationError({ message }); |
||
| 36 | }, |
||
| 37 | }, |
||
| 38 | }; |
||
| 39 |