Skip to content

Commit b6773b5

Browse files
committed
Format all the files
1 parent 5bff8d9 commit b6773b5

File tree

22 files changed

+153
-154
lines changed

22 files changed

+153
-154
lines changed

resources/assets/scripts/api/server/createDatabase.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {ServerDatabase} from "@/api/server/types";
99
*/
1010
export function createDatabase(server: string, database: string, remote: string): Promise<ServerDatabase> {
1111
return new Promise((resolve, reject) => {
12-
http.post(route('api.client.servers.databases', { server }), {database, remote})
12+
http.post(route('api.client.servers.databases', {server}), {database, remote})
1313
.then(response => {
1414
const copy: any = response.data.attributes;
1515
copy.password = copy.relationships.password.attributes.password;

resources/assets/scripts/api/server/getDirectoryContents.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import http from '../http';
2-
import { filter, isObject } from 'lodash';
2+
import {filter, isObject} from 'lodash';
33
// @ts-ignore
44
import route from '../../../../../vendor/tightenco/ziggy/src/js/route';
55
import {DirectoryContents} from "./types";
66

77
/**
88
* Get the contents of a specific directory for a given server.
99
*/
10-
export function getDirectoryContents (server: string, directory: string): Promise<DirectoryContents> {
10+
export function getDirectoryContents(server: string, directory: string): Promise<DirectoryContents> {
1111
return new Promise((resolve, reject) => {
12-
http.get(route('server.files', { server, directory }))
12+
http.get(route('server.files', {server, directory}))
1313
.then((response) => {
1414
return resolve({
1515
files: filter(response.data.contents, function (o) {

resources/assets/scripts/bootstrap.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ window._ = require('lodash');
1010

1111
try {
1212
window.$ = window.jQuery = require('jquery');
13-
} catch (e) {}
13+
} catch (e) {
14+
}
1415

1516
window.axios = axios;
1617

resources/assets/scripts/components/auth/ResetPassword.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
104104
if (response.data.send_to_login) {
105105
this.$flash.success('Your password has been reset, please login to continue.');
106-
return this.$router.push({ name: 'login' });
106+
return this.$router.push({name: 'login'});
107107
}
108108
109109
return window.location = response.data.redirect_to;

resources/assets/scripts/components/core/Icon.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<script lang="ts">
66
import Vue from 'vue';
7-
import { replace } from 'feather-icons';
7+
import {replace} from 'feather-icons';
88
99
export default Vue.extend({
1010
name: 'Icon',

resources/assets/scripts/components/core/Modal.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
components: {Icon},
2525
2626
props: {
27-
modalName: { type: String, default: 'modal' },
28-
show: { type: Boolean, default: false },
29-
closeOnEsc: { type: Boolean, default: true },
27+
modalName: {type: String, default: 'modal'},
28+
show: {type: Boolean, default: false},
29+
closeOnEsc: {type: Boolean, default: true},
3030
},
3131
3232
mounted: function () {

resources/assets/scripts/components/dashboard/account/ChangePassword.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
<script lang="ts">
4242
import Vue from 'vue';
43-
import { isObject } from 'lodash';
43+
import {isObject} from 'lodash';
4444
import {AxiosError} from "axios";
4545
4646
export default Vue.extend({

resources/assets/scripts/components/forms/CSRF.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<input type="hidden" name="_token" v-bind:value="X_CSRF_TOKEN" />
2+
<input type="hidden" name="_token" v-bind:value="X_CSRF_TOKEN"/>
33
</template>
44

55
<script lang="ts">

resources/assets/scripts/components/server/components/PowerButtons.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
<button class="btn btn-green uppercase text-xs px-4 py-2"
66
v-if="status === statuses.STATUS_OFF"
77
v-on:click.prevent="sendPowerAction('start')"
8-
>Start</button>
8+
>Start
9+
</button>
910
<div v-else>
1011
<button class="btn btn-red uppercase text-xs px-4 py-2" v-on:click.prevent="sendPowerAction('stop')">Stop</button>
1112
<button class="btn btn-secondary uppercase text-xs px-4 py-2" v-on:click.prevent="sendPowerAction('restart')">Restart</button>

resources/assets/scripts/components/server/components/filemanager/FileContextMenu.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@
5757
5858
export default Vue.extend({
5959
name: 'FileContextMenu',
60-
components: { Icon },
60+
components: {Icon},
6161
});
6262
</script>

0 commit comments

Comments
 (0)