Skip to content

Commit

Permalink
lint project
Browse files Browse the repository at this point in the history
  • Loading branch information
ibakaidov committed Oct 23, 2023
1 parent 531d89f commit fa693ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/frontend/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const secondary = computed(() => {
return hexToRGB(store.state.colors.secondary);
});
function hexToRGB(input: string) {
function hexToRGB (input: string) {
const aRgbHex = input.slice(1).match(/.{1,2}/g);
if (!aRgbHex) return null;
const aRgb = [
Expand Down
8 changes: 4 additions & 4 deletions src/frontend/components/DownloadDefaultSetsDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ onMounted((): void => {
});
});
async function download() {
async function download () {
downloading.value = true;
await storageService.downloadAndUnpack("https://linka.su/dist/linka.looks/sasha.sets.zip");
dialog.value = false;
window.location.reload();
}
async function consultation() {
shell.openExternal("https://forms.gle/raD3VV6aCGEGzoGz7")
async function consultation () {
shell.openExternal("https://forms.gle/raD3VV6aCGEGzoGz7");
}
function onDialog(v: boolean) {
function onDialog (v: boolean) {
if (!v) {
store.commit("button_enabled", !v);
store.commit("defaultSetsDownloaded", 2);
Expand Down

0 comments on commit fa693ee

Please # to comment.