fix: pre-populate classifications instead of syncing from Autotask API
- Autotask REST API doesn't expose ClassificationIcons endpoint - Created migration to populate 17 standard classification icons - Removed sync button from UI (classifications are pre-loaded) - Includes: Tools Only, Co-Managed, Wulf 365 Essentials, Partner, etc. - Users can now select any classification to exclude from kiosk
This commit is contained in:
parent
b222d97225
commit
f27b23bec8
3 changed files with 30 additions and 13 deletions
|
|
@ -490,7 +490,8 @@ export class AutotaskClient {
|
|||
// Classification Icons methods
|
||||
async getClassificationIcons(): Promise<any[]> {
|
||||
// Autotask API endpoint for classification icons
|
||||
const url = `${this.config.apiUrl}/CompanyClassificationIcons`;
|
||||
// Try ClassificationIcons endpoint
|
||||
const url = `${this.config.apiUrl}/ClassificationIcons`;
|
||||
|
||||
const response = await this.makeApiCall<any>(url, {
|
||||
method: 'GET',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue