diff --git a/plugins/azure-sites/src/components/AzureSitesOverviewTableComponent/AzureSitesOverviewTable.tsx b/plugins/azure-sites/src/components/AzureSitesOverviewTableComponent/AzureSitesOverviewTable.tsx
index 2f891ec3d2..751a61a3e1 100644
--- a/plugins/azure-sites/src/components/AzureSitesOverviewTableComponent/AzureSitesOverviewTable.tsx
+++ b/plugins/azure-sites/src/components/AzureSitesOverviewTableComponent/AzureSitesOverviewTable.tsx
@@ -99,15 +99,17 @@ const Kind = ({ value }: { value: Kinds }) => {
};
const Tags = ({ tags }: { tags: any }) => {
- return Object.keys(tags).map((key: any) => (
-
- ));
+ return Object.keys(tags)
+ .toSorted()
+ .map((key: any) => (
+
+ ));
};
type TableProps = {
@@ -291,7 +293,7 @@ export const AzureSitesOverviewTable = ({ data, loading }: TableProps) => {
options={{ paging: true, search: false, pageSize: 10 }}
data={data}
emptyContent={}
- isLoading={loading}
+ isLoading={loading && data.length === 0}
columns={columns}
/>