File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -91,12 +91,6 @@ export default defineComponent({
9191 }${this .privateFilter === ' private' ? ' &is_private=true' : ' ' }${this .privateFilter === ' public' ? ' &is_private=false' : ' '
9292 } ` ;
9393 },
94- isRepoEmpty() {
95- return ! this .isLoading && ! this .reposTotalCount ;
96- },
97- isOrgEmpty() {
98- return ! this .isLoading && ! this .organizations .length ;
99- },
10094 repoTypeCount() {
10195 return this .counts [` ${this .reposFilter }:${this .archivedFilter }:${this .privateFilter } ` ];
10296 },
@@ -360,7 +354,7 @@ export default defineComponent({
360354 </a >
361355 </h4 >
362356 <div v-if =" isLoading && !reposTotalCount" class =" ui attached segment" :class =" {'is-loading': isLoading}" />
363- <div v-if =" isRepoEmpty " class =" ui attached segment empty-placeholder" >
357+ <div v-if =" !isLoading && !reposTotalCount " class =" ui attached segment empty-placeholder" >
364358 <svg-icon name =" octicon-git-branch" :size =" 24" class-name =" empty-placeholder-icon" />
365359 <p >{{ textNoRepo }}</p >
366360 </div >
@@ -478,7 +472,7 @@ export default defineComponent({
478472 </a >
479473 </h4 >
480474 <div v-if =" isLoading" class =" ui attached segment" :class =" {'is-loading': isLoading}" />
481- <div v-if =" isOrgEmpty " class =" ui attached segment empty-placeholder" >
475+ <div v-if =" !isLoading && !organizations.length " class =" ui attached segment empty-placeholder" >
482476 <svg-icon name =" octicon-organization" :size =" 24" class-name =" empty-placeholder-icon" />
483477 <p >{{ textNoOrg }}</p >
484478 </div >
You can’t perform that action at this time.
0 commit comments