mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
refactor: Remove deprecated Service Token field
The deprecated Service Token field in the TelemetryService model and related components was removed. This improves code cleanliness and removes unnecessary dependencies. Files modified: - Dashboard/src/Pages/Telemetry/Services/View/Index.tsx - Dashboard/src/Pages/Telemetry/Services/View/Settings.tsx - Model/Models/TelemetryService.ts
This commit is contained in:
@@ -112,13 +112,6 @@ const ServiceDelete: FunctionComponent<
|
||||
},
|
||||
title: "Description",
|
||||
},
|
||||
{
|
||||
field: {
|
||||
telemetryServiceToken: true,
|
||||
},
|
||||
title: "Service Token",
|
||||
fieldType: FieldType.HiddenText,
|
||||
},
|
||||
],
|
||||
modelId: modelId,
|
||||
}}
|
||||
|
||||
@@ -90,7 +90,6 @@ const ServiceDelete: FunctionComponent<
|
||||
modelId: modelId,
|
||||
}}
|
||||
/>
|
||||
|
||||
</Fragment>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -416,8 +416,7 @@ export default class TelemetryService extends BaseModel {
|
||||
})
|
||||
public labels?: Array<Label> = undefined;
|
||||
|
||||
|
||||
// This field is deprecared and is no longer used.
|
||||
// This field is deprecared and is no longer used.
|
||||
@ColumnAccessControl({
|
||||
create: [
|
||||
Permission.ProjectOwner,
|
||||
|
||||
Reference in New Issue
Block a user