move icon loading reflection logic to server

This commit is contained in:
sbwalker
2023-08-23 15:25:39 -04:00
parent 34ae731959
commit 82d128974c
8 changed files with 57 additions and 40 deletions

View File

@ -33,5 +33,10 @@ namespace Oqtane.Services
{
await PostJsonAsync(Apiurl, settings);
}
public async Task<Dictionary<string, string>> GetIconsAsync()
{
return await GetJsonAsync<Dictionary<string, string>>($"{Apiurl}/icons");
}
}
}