sandialabs / sceptre-phenix

phenix is an orchestration tool and GUI for Sandia's minimega platform
https://sandialabs.github.io/sceptre-docs/
GNU General Public License v3.0
17 stars 23 forks source link

Disk dropdown not populating in UI #161

Open jacdavi opened 9 months ago

jacdavi commented 9 months ago

The disk dropdown in StoppedExperiment.vue is not populating with the selected disk. The dropdown does contain the list of all disks though.

It looks like the issue is that the dropdown option list contains full image paths (e.g., /path/to/image.qcow2) while prop.row.disk is just an image name (e.g., image.qcow2). So since it doesn't match any options, it remains blank.

I think the issue arose with this commit. The call to util.GetMMFullPath was removed. Adding that back fixes things.

I also see that function is still used in Get just not List.

I can create a PR with the change, just wasn't sure if I was missing context