-
Notifications
You must be signed in to change notification settings - Fork 7
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
SB-28356 feat: files option in projects #259
base: release-4.8.0
Are you sure you want to change the base?
Conversation
@@ -98,6 +100,50 @@ export class AttachmentListingPage implements OnInit { | |||
} | |||
} | |||
getAttachments(tab) { | |||
this.attachments = []; |
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.
remove this
|
||
async removeImage(task, type, index){ | ||
const alert = await this.alertController.create({ | ||
message: '<strong>Are you sure you want to delete image?</strong>', |
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.
use translate
message: '<strong>Are you sure you want to delete image?</strong>', | ||
buttons: [ | ||
{ | ||
text: 'Yes', |
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.
translate for all labels
role: 'yes', | ||
handler: () => { | ||
this.attachments = this.attachments.map(obj => { | ||
if (obj === task) { |
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.
make this as common method and see if we can reuse this method
src/assets/styles/themeable.scss
Outdated
@@ -129,8 +129,8 @@ html[data-theme="JOYFUL"]{ | |||
} | |||
} | |||
button { | |||
background-color: var(--app-primary) !important; | |||
color: var(--app-white) !important; | |||
background-color: var(--app-primary); |
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.
Please check the changes effect somewhere
@@ -209,4 +209,29 @@ sunbird-pdf-player .sunbird-pdf-palyer-container pdf-viewer iframe{ | |||
} | |||
.ion-text-none{ | |||
text-transform: none; | |||
} | |||
|
|||
.alert-button-group.sc-ion-alert-md{ |
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.
Check other alerts getting effect
No description provided.