Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM committed Sep 30, 2024
1 parent a9e2bcf commit b07b168
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<p class="w-full">{{resources.translate(categoriesGroup.type)}}</p>
</div>
<div class="w-1/5">
<button class="w-full !h-full" mat-button (click)="toggleVisibility($event)" angulartics2On="click" angularticsCategory="Layers" angularticsAction="Toggle visiblity of category layer {{categoriesGroup.type}}">
<button class="w-full !h-full" mat-button (click)="toggleVisibility($event)" angulartics2On="click" angularticsCategory="Layers" angularticsAction="Toggle visibility of category layer {{categoriesGroup.type}}">
<i class="fa fa-lg" [ngClass]="{'icon-eye': categoriesGroup.visible, 'icon-eye-slash': !categoriesGroup.visible}"></i>
</button>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</mat-expansion-panel-header>
<div *ngFor="let overlay of (overlays$ | async)">
<div class="flex flex-row">
<button mat-button class="row-button flex-1 !justify-start" (click)="toggleVisibility(overlay)" angulartics2On="click" angularticsCategory="Layers" angularticsAction="Toggle overlay visiblity {{overlay.key}}">
<button mat-button class="row-button flex-1 !justify-start" (click)="toggleVisibility(overlay)" angulartics2On="click" angularticsCategory="Layers" angularticsAction="Toggle overlay visibility {{overlay.key}}">
<span><i class="fa" [ngClass]="{'icon-eye': overlay.visible, 'icon-eye-slash': !overlay.visible}"></i></span>
<span class="break-all">{{resources.translate(overlay.key)}}</span>
</button>
Expand Down
2 changes: 1 addition & 1 deletion IsraelHiking.Web/src/application/services/file.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export class FileService {
public async writeStyle(styleFileName: string, styleText: string) {
await this.fileSystemWrapper.writeFile(this.fileSystemWrapper.dataDirectory, styleFileName, styleText,
{ append: false, replace: true, truncate: 0 });
this.loggingService.info(`[Files] Write style finished succefully: ${styleFileName}`);
this.loggingService.info(`[Files] Write style finished successfully: ${styleFileName}`);
}

public async compressTextToBase64Zip(contents: {name: string; text: string}[]): Promise<string> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ export class LayersService {

public toggleOverlay(overlay: Overlay) {
const newVisibility = !overlay.visible;
this.loggingService.info(`[Layers] Changing visiblity of ${overlay.key} to ${newVisibility ? "visible" : "hidden"}`);
this.loggingService.info(`[Layers] Changing visibility of ${overlay.key} to ${newVisibility ? "visible" : "hidden"}`);
this.store.dispatch(new UpdateOverlayAction(overlay.key, {
...overlay,
visible: newVisibility
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ export class ShareUrlsService {
const sharesLastSuccessfullSync = this.store.selectSnapshot((s: ApplicationState) => s.offlineState).shareUrlsLastModifiedDate;
const operationStartTimeStamp = new Date();
let sharesToGetFromServer = [] as ShareUrl[];
this.loggingService.info("[Shares] Starting shares sync, last modified:" +
this.loggingService.info("[Shares] Starting shares sync, last modified: " +
(sharesLastSuccessfullSync || new Date(0)).toUTCString());
const shareUrls$ = this.httpClient.get(Urls.urls).pipe(timeout(20000));
const shareUrls = await firstValueFrom(shareUrls$) as ShareUrl[];
this.loggingService.info("[Shares] Got the list of shares, statring to compare against exiting list");
this.loggingService.info("[Shares] Got the list of shares, starting to compare against exiting list");
const exitingShareUrls = this.store.selectSnapshot((s: ApplicationState) => s.shareUrlsState).shareUrls;
for (const shareUrl of shareUrls) {
shareUrl.lastModifiedDate = new Date(shareUrl.lastModifiedDate);
Expand Down

0 comments on commit b07b168

Please sign in to comment.