From 0517106dfecdc1eefe659ec633ff14243516448e Mon Sep 17 00:00:00 2001 From: Spythere Date: Sat, 11 Feb 2023 18:13:00 +0100 Subject: [PATCH] =?UTF-8?q?feature:=20obs=C5=82uga=20hashy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TableActions.vue | 1 + src/types/types.ts | 5 ++++- src/views/ManagerView.vue | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/TableActions.vue b/src/components/TableActions.vue index c221e9a..3b74b95 100644 --- a/src/components/TableActions.vue +++ b/src/components/TableActions.vue @@ -200,6 +200,7 @@ export default defineComponent({ const newSt: SceneryRowItem = { name, url: '', + hash: '', lines: '', project: null, projectUrl: null, diff --git a/src/types/types.ts b/src/types/types.ts index 2dea2b5..53cb2b1 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -1,6 +1,7 @@ export type Availability = 'default' | 'unavailable' | 'nonPublic' | 'abandoned' | 'nonDefault'; export type ChangeProp = | 'name' + | 'hash' | 'url' | 'lines' | 'project' @@ -17,9 +18,10 @@ export type ChangeProp = export enum HeaderTypes { name = 'Nazwa', url = 'URL', + hash = 'Hash', lines = 'Linie', project = 'Projekt', - projectUrl = "URL projektu", + projectUrl = 'URL projektu', reqLevel = 'Wym. poziom', signalType = 'Sygnalizacja', controlType = 'Sterowanie', @@ -41,6 +43,7 @@ export enum AvailabilityTypes { export interface SceneryRowItem { id: string; + hash: string; name: string; url: string; lines: string; diff --git a/src/views/ManagerView.vue b/src/views/ManagerView.vue index 78e1399..9d9a8f7 100644 --- a/src/views/ManagerView.vue +++ b/src/views/ManagerView.vue @@ -76,6 +76,7 @@ export default defineComponent({ AuthState, headerNameList: { name: 'Nazwa', + hash: 'Hash', url: 'URL', lines: 'Linie', project: 'Projekt', @@ -196,8 +197,7 @@ table { border-collapse: collapse; width: 100%; - max-width: 2000px; - min-width: 1450px; + min-width: 1800px; } table thead {