// UI -----------------------------------------------------------------------------------------------
        #region UI

        private async Task ChangeRecords(EFilter_PlayerWRsType type)
        {
            var worldRecordsDatum = await playerViewModel.GetPlayerWRs(game, mode, type, playerType, playerValue, list_index);

            worldRecordsData = worldRecordsDatum?.data.records;
            if (worldRecordsData is null)
            {
                return;
            }

            WRTypeOptionLabel.Text = "Type: " + EFilter_ToString.toString2(type);
            if (list_index == 1)
            {
                WRsStack.Children.Clear();
            }
            LayoutRecords();
        }