Skip to content
Snippets Groups Projects
Commit a0fc7c6f authored by Xiao Gui's avatar Xiao Gui
Browse files

chore: fix lint

parent 90580439
No related branches found
No related tags found
No related merge requests found
......@@ -86,7 +86,7 @@ export class BsFeatureIEEGCmp extends BsRegionInputBase implements OnDestroy{
/**
* unload all the landmarks first
*/
this.store.dispatch(
this.store.dispatch(
viewreStateRemoveUserLandmarks({
payload: {
landmarkIds: this.loadedLms.map(l => l['@id'])
......
......@@ -5,7 +5,7 @@ import { Pipe, PipeTransform } from "@angular/core";
})
export class GetFilenamePipe implements PipeTransform {
private regex: RegExp = new RegExp('\/([^\/]+)$')
private regex: RegExp = new RegExp('/([^/]+)$')
public transform(fullname: string): string {
return this.regex.test(fullname)
? this.regex.exec(fullname)[1]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment