Skip to content

Commit

Permalink
fix: downgrade bulma
Browse files Browse the repository at this point in the history
  • Loading branch information
janwo committed Jun 23, 2024
1 parent f652d08 commit 2958546
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 28 deletions.
6 changes: 3 additions & 3 deletions smartblueberry/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,18 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "smartblueberry:build:production"
"buildTarget": "smartblueberry:build:production"
},
"development": {
"browserTarget": "smartblueberry:build:development"
"buildTarget": "smartblueberry:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "smartblueberry:build",
"buildTarget": "smartblueberry:build",
"outputPath": "frontend/src/locale"
}
}
Expand Down
7 changes: 3 additions & 4 deletions smartblueberry/frontend/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations'
import { DoorsWindowsComponent } from './doors-windows/doors-windows.component'
import { SvgIconComponent } from './svg-icon/svg-icon.component'
import { EntitySchemaComponent } from './entity-schema/entity-schema.component'
import { HttpClientModule } from '@angular/common/http'
import { provideHttpClient } from '@angular/common/http'
import { DashboardComponent } from './dashboard/dashboard.component'
import { SetupComponent } from './setup/setup.component'
import { HAService } from './ha.service'
Expand All @@ -19,7 +19,7 @@ import { ErrorComponent } from './error/error.component'
import { IrrigationComponent } from './irrigation/irrigation.component'
import { IrrigationChartComponent } from './irrigation-chart/irrigation-chart.component'
import { NgChartsModule } from 'ng2-charts'
import { SelectComponent } from './select/select.component';
import { SelectComponent } from './select/select.component'
import { FormComponent } from './form/form.component'

@NgModule({
Expand All @@ -43,12 +43,11 @@ import { FormComponent } from './form/form.component'
imports: [
BrowserModule,
NgChartsModule,
HttpClientModule,
ReactiveFormsModule,
AppRoutingModule,
BrowserAnimationsModule
],
providers: [HAService],
providers: [HAService, provideHttpClient()],
bootstrap: [AppComponent]
})
export class AppModule {}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ export class DoorsWindowsComponent implements OnInit {
const modifiedFeatures = { ...this.doorsWindowsFeatures, [feature]: state }

this.haService
.post<DoorsWindowsFeaturesPayload>('/doors-windows-features', modifiedFeatures)
.post<DoorsWindowsFeaturesPayload>(
'/doors-windows-features',
modifiedFeatures
)
.subscribe({
next: (response) => {
if (response.ok) {
Expand Down
36 changes: 18 additions & 18 deletions smartblueberry/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions smartblueberry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
"@hapi/hapi": "^21.3.10",
"@hapi/inert": "^7.1.0",
"@hapi/jwt": "^3.2.0",
"bulma": "^1.0.1",
"bulma": "^0.9.4",
"cryptr": "^6.3.0",
"dayjs": "^1.11.11",
"dotenv": "^16.4.5",
"home-assistant-js-websocket": "^9.4.0",
"human-interval": "^2.0.1",
"joi": "^17.13.3",
"ng2-charts": "^6.0.1",
"ng2-charts": "^5.0.4",
"node-json-db": "^2.3.0",
"rxjs": "^7.8.1",
"tslib": "^2.6.3",
Expand Down

0 comments on commit 2958546

Please sign in to comment.