Skip to content

Commit c40746c

Browse files
fix issues after migration
1 parent b0133c7 commit c40746c

File tree

14 files changed

+33
-106
lines changed

14 files changed

+33
-106
lines changed

Angular/src/app/app.component.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
#request-panel {
2222
min-width: 505px;
2323
height: 400px;
24-
overflow-x: hidden;
25-
overflow-y: auto;
24+
overflow: hidden auto;
2625
padding: 18px;
2726
margin-top: 40px;
2827
background-color: rgba(191 191 191 / 15%);

AzureDirectUpload_Backend/AzureDirectUpload_Backend/AzureDirectUpload_Backend.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup>

React/.eslintrc.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

React/src/App.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import React, {
1+
import {
22
useCallback, useEffect, useMemo, useState,
33
} from 'react';
44
import './App.css';
55
import 'devextreme/dist/css/dx.material.blue.light.compact.css';
66
import FileUploader from 'devextreme-react/file-uploader';
77
import LoadPanel from 'devextreme-react/load-panel';
8-
import UploadInfo from 'devextreme/file_management/upload_info';
8+
import type UploadInfo from 'devextreme/file_management/upload_info';
99
import { AzureGateway } from './services/azure.gateway';
10-
import { AzureResponse } from './services/app.service.types';
10+
import type { AzureResponse } from './services/app.service.types';
1111

1212
const endpointUrl = 'https://localhost:7021/api/file-uploader-azure-access';
1313
const loadPanelPosition = { of: '#file-uploader' };

React/src/index.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
#request-panel {
2222
min-width: 505px;
2323
height: 400px;
24-
overflow-x: hidden;
25-
overflow-y: auto;
24+
overflow: hidden auto;
2625
padding: 18px;
2726
margin-top: 40px;
2827
background-color: rgba(191 191 191 / 15%);

React/src/index.tsx

Lines changed: 0 additions & 19 deletions
This file was deleted.

React/src/reportWebVitals.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.

React/src/services/azure.gateway.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
import {
2-
FileEntry, AccessUrls, AzureResponse, CommandParams, isUrlResponse, RequestParams, AzureObject,
1+
import type {
2+
FileEntry, AccessUrls, AzureResponse, CommandParams, RequestParams, AzureObject,
33
} from './app.service.types';
44

5+
import { isUrlResponse } from './app.service.types';
6+
57
export class AzureGateway {
68
endpointUrl: string;
79

Vue/src/App.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<script setup lang="ts">
2-
import { RouterView } from "vue-router";
2+
import { RouterView } from 'vue-router';
33
</script>
44

55
<template>
6-
<div class="main">
7-
<RouterView />
8-
</div>
6+
<div class="main">
7+
<RouterView/>
8+
</div>
99
</template>
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import { describe, it, expect } from "vitest";
1+
import { describe, it, expect } from 'vitest';
22

3-
import { mount } from "@vue/test-utils";
4-
import Content from "../HomeContent.vue";
3+
import { mount } from '@vue/test-utils';
4+
import Content from '../HomeContent.vue';
55

6-
describe("Content", () => {
7-
it("renders properly", () => {
8-
const wrapper = mount(Content, { props: { text: "count" } });
9-
expect(wrapper.text()).toContain("count");
6+
describe('Content', () => {
7+
it('renders properly', () => {
8+
const wrapper = mount(Content, { props: { text: 'count' } });
9+
expect(wrapper.text()).toContain('count');
1010
});
1111
});

0 commit comments

Comments
 (0)