Skip to content

Commit 19f40fb

Browse files
committed
Update router to use hash mode
1 parent 8442f8b commit 19f40fb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/app/app-routing.module.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ import { ROUTES } from './app.routes';
1010
@NgModule({
1111
imports: [
1212
RouterModule.forRoot(ROUTES, {
13-
useHash: Boolean(history.pushState) === false,
13+
//If we don't want to use hash mode, we need to change RackHD
14+
useHash: Boolean(history.pushState) === true,
1415
preloadingStrategy: PreloadAllModules
1516
// enableTracing: true
1617
})

src/app/workflow-center/workflow-editor/workflow-editor.component.scss

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66
padding-bottom: 45px;
77
display: inline-flex;
88
width: 100%;
9+
910
p {
1011
float: right;
1112
}
13+
1214
.workflow-editor {
1315
flex: 3;
1416
}
@@ -19,7 +21,7 @@
1921
height: 100vh;
2022
border: none;
2123
#jsoneditor {
22-
height: 100vh !important;
24+
height: 100vh;
2325
}
2426
.filter-line {
2527
margin-left: 0px;
@@ -31,7 +33,4 @@
3133
}
3234
}
3335
}
34-
div.jsoneditor jsoneditor-mode-code {
35-
padding: 1px !important;
36-
}
3736
}

0 commit comments

Comments
 (0)