web/satellite: fix linksharing issue

Bucket creation/open flow wasn't storing credentials correctly inside Vuex store.

Change-Id: Ifc2eb8ca79a672dbc44d95089f7d6cee2e71bb57
This commit is contained in:
Vitalii 2022-06-16 20:57:39 +03:00
parent 13be4ad0dd
commit e79e79d2e1
3 changed files with 7 additions and 0 deletions

View File

@ -37,6 +37,7 @@
:id="label"
v-model="value"
class="input"
:class="{'password-input' : isPassword}"
:placeholder="placeholder"
:type="type"
:style="style.inputStyle"
@ -302,6 +303,10 @@ export default class VInput extends Vue {
animation: spin 2s linear infinite;
}
.password-input {
padding-right: 55px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }

View File

@ -186,6 +186,7 @@ export default class OpenBucketModal extends Vue {
if (this.enterError) this.enterError = '';
this.passphrase = passphrase;
this.$store.dispatch(OBJECTS_ACTIONS.SET_PASSPHRASE, this.passphrase);
}
/**

View File

@ -72,6 +72,7 @@ export default class BucketCreation extends Vue {
*/
public setPassphrase(passphrase: string): void {
this.passphrase = passphrase;
this.$store.dispatch(OBJECTS_ACTIONS.SET_PASSPHRASE, this.passphrase);
}
/**