We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 196a1bd commit e0258ceCopy full SHA for e0258ce
1 file changed
pkg/rancher-desktop/pages/Volumes.vue
@@ -246,9 +246,9 @@ export default Vue.extend({
246
async deleteVolume(volume) {
247
await this.execCommand('volume rm', volume);
248
},
249
- async execCommand(command, _ids) {
+ async execCommand(command, volumes) {
250
try {
251
- const ids = Array.isArray(_ids) ? _ids.map(v => v.Name) : [_ids.Name];
+ const ids = Array.isArray(volumes) ? volumes.map(v => v.Name) : [volumes.Name];
252
const [baseCommand, ...subCommands] = command.split(' ');
253
254
console.info(`Executing command ${ command } on volume ${ ids }`);
0 commit comments