Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Bug fix for ASP.NET Zero 7.10 - incorrect default language display #7501


User avatar
0
arctechnicalteamaus created

For us, on the Tenant admin languages section, every language is shown as 'Default'. Zero 7.1.0, Angular part, file "angular\src\app\admin\languages\languages.component.html" Line 94, should it be like this?

                                    <td *ngIf="appSession.tenantId ? true : false">
                                        <span class="ui-column-title">{{'Default' | localize}}</span>
                                        <span class="kt-badge kt-badge--success kt-badge--inline"
                                              *ngIf="record.name === defaultLanguageName">
                                            {{'Yes' | localize}}
                                        </span>
                                        <span class="kt-badge kt-badge--dark kt-badge--inline"
                                              *ngIf="record.name !== defaultLanguageName">
                                            {{'No' | localize}}
                                        </span>
                                        <!-- Below code display Yes for all languages
                                        <span class="kt-badge kt-badge--success kt-badge--inline"
                                              *ngIf="record.tenantId !== appSession.tenantId">
                                            {{'Yes' | localize}}
                                        </span>
                                        <span class="kt-badge kt-badge--dark kt-badge--inline"
                                              *ngIf="record.tenantId === appSession.tenantId">
                                            {{'No' | localize}}
                                        </span> -->
                                    </td>                                   

1 Answer(s)
  • User Avatar
    0
    ryancyq created
    Support Team

    Thanks for reporting this. We will fix this.

    https://github.com/aspnetzero/aspnet-zero-core/issues/2591