-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix legacy issues that html and css file are written on ts file. #4899
Conversation
1056127
to
cabed8b
Compare
@@ -19,7 +19,7 @@ import { Configuration } from 'harbor-ui'; | |||
@Component({ | |||
selector: 'config-email', | |||
templateUrl: "config-email.component.html", | |||
styleUrls: ['../config.component.css'] | |||
styleUrls: ['../config.component.scss'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WHY '../'
@@ -41,7 +41,7 @@ import {BatchInfo, BathInfoChanges} from "../../shared/confirmation-dialog/confi | |||
|
|||
@Component({ | |||
templateUrl: "member.component.html", | |||
styleUrls: ["./member.component.css"], | |||
styleUrls: ["./member.component.scss"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WHY one with './' another without './'
template: SYSTEM_SETTINGS_HTML, | ||
styles: [REGISTRY_CONFIG_STYLES] | ||
templateUrl: './system-settings.component.html', | ||
styleUrls: ['../registry-config.component.scss'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WHY '../' and './'
template: REPLICATION_CONFIG_HTML, | ||
styles: [REGISTRY_CONFIG_STYLES] | ||
templateUrl: './replication-config.component.html', | ||
styles: ['../registry-config.component.scss'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WHY '../' AND './'
Currently, our html and css files are written as string on .ts file. This pr is to solve the legacy issue.
cabed8b
to
282a63f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Currently, our html and css files are written as string on .ts file. This pr is to solve the legacy issue.