rename activeProfile to profileIndex

This commit is contained in:
Ryan Breen
2023-01-15 15:12:42 -05:00
parent d33d9be72d
commit abc84d4694
4 changed files with 30 additions and 19 deletions

View File

@@ -8,7 +8,7 @@
<body x-data="popup">
<div class="profiles">
<label for="profile">Profile</label>
<select x-model="activeProfile" name="profile" id="profile" @change="getPrivKeyForProfile()">
<select x-model="profileIndex" name="profile" id="profile" @change="setProfileIndex()">
<template x-for="(prof, index) in profiles">
<option x-text="prof.name" :value="index"></option>
</template>