diff --git a/src/js/angular/templates/repositorySize.html b/src/js/angular/templates/repositorySize.html
index f2dd09e26..8126b3590 100644
--- a/src/js/angular/templates/repositorySize.html
+++ b/src/js/angular/templates/repositorySize.html
@@ -8,7 +8,7 @@
- {{(canWriteRepoInActiveLocation(popoverRepo.id) && popoverRepo.type !== 'ontop') ? 'Read/write' : 'Read-only'}}
+ {{(popoverRepo.writable && canWriteRepoInActiveLocation(popoverRepo.id) && popoverRepo.type !== 'ontop') ? 'Read/write' : 'Read-only'}}