Format TimetrackAccount related things
This commit is contained in:
parent
286d1c7fda
commit
ebd5493e46
@ -38,6 +38,7 @@
|
||||
</template>
|
||||
<script>
|
||||
import {baseUri} from "../variables";
|
||||
|
||||
export default {
|
||||
name: "CreateTimeTrackAccount",
|
||||
data: () => ({
|
||||
|
@ -43,17 +43,11 @@ export default {
|
||||
}
|
||||
};
|
||||
accountxhttp.open("DELETE", selfLink, false);
|
||||
|
||||
accountxhttp.setRequestHeader(
|
||||
"Authorization",
|
||||
sessionStorage.getItem("jwt")
|
||||
);
|
||||
|
||||
accountxhttp.setRequestHeader("Authorization", sessionStorage.getItem("jwt"));
|
||||
accountxhttp.send(null);
|
||||
},
|
||||
editTimeTrackAccount(selfLink) {
|
||||
sessionStorage.setItem("timeTrackAccountEditSelfLink", selfLink);
|
||||
|
||||
this.$router.push("/edittimetrackaccount");
|
||||
},
|
||||
createTimeTrackAccount() {
|
||||
@ -80,7 +74,6 @@ export default {
|
||||
);
|
||||
|
||||
accountxhttp.setRequestHeader("Authorization", sessionStorage.getItem("jwt"));
|
||||
|
||||
accountxhttp.send(null);
|
||||
|
||||
this.timeTrackAccounts = timeTrackAccountsTMP;
|
||||
|
Loading…
Reference in New Issue
Block a user