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:
parent
13be4ad0dd
commit
e79e79d2e1
@ -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); }
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user