[ACA-1911] Un-Share file - permission error notification (#743)

* remove update permission check

* add 403 error

* show 403 error

* update test

* update e2e

* update

Co-Authored-By: pionnegru <bogdan.cilibiu@ness.com>
This commit is contained in:
Cilibiu Bogdan
2018-10-23 09:35:30 +03:00
committed by Suzana Dirla
parent a6c420b54f
commit 07703547ec
6 changed files with 70 additions and 31 deletions

View File

@@ -116,7 +116,7 @@ export class ShareDialog extends Component {
return toggleClass.includes('checked');
}
async isShareToggleEnabled() {
async isShareToggleDisabled() {
const toggleClass = await this.getShareToggle().getAttribute('class');
return toggleClass.includes('mat-disabled');
}