Skip to content

Commit

Permalink
chore: remove title and fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
yangxiaolang committed Jun 18, 2024
1 parent 8ab72a5 commit d68ba38
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/date-picker/calendar/header/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import dayjs, { ConfigType, Dayjs } from 'dayjs';
import { map, startWith } from 'rxjs';

import { ButtonComponent } from '../../../button/button.component';
import { I18nPipe } from '../../../i18n/i18n.pipe';
import { I18nPipe, I18nService } from '../../../i18n';
import { IconComponent } from '../../../icon/icon.component';
import { buildBem, publishRef } from '../../../internal/utils';
import {
Expand All @@ -22,8 +22,6 @@ import {
import { DatePickerType, MONTH, YEAR } from '../constant';
import { calcRangeValue } from '../util';

import { I18nService } from 'src/i18n';

const bem = buildBem('aui-calendar-header');

@Component({
Expand Down
2 changes: 0 additions & 2 deletions src/date-picker/calendar/header/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@
<button
aui-button="text"
class="header-range"
[title]="headerRange?.start?.year() + ('year_suffix' | auiI18n)"
(click)="clickNav(DateNavRange.Year)"
>
{{ headerRange?.start?.year() }}{{ 'year_suffix' | auiI18n }}
Expand All @@ -136,7 +135,6 @@
<button
aui-button="text"
class="header-range"
[title]="headerRange?.start?.month() + 1 + ('month_suffix' | auiI18n)"
(click)="clickNav(DateNavRange.Month)"
>
{{ headerRange?.start?.month() + 1 }}{{ 'month_suffix' | auiI18n }}
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "@1stg/tsconfig/ng-lib",
"compilerOptions": {
"baseUrl": ".",
"strictNullChecks": false
"strictNullChecks": false,
"useDefineForClassFields": false
}
}

0 comments on commit d68ba38

Please sign in to comment.