Skip to content

Commit 9cf1a85

Browse files
committed
fix
1 parent c6322b9 commit 9cf1a85

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

web_src/js/components/DashboardRepoList.vue

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ export default defineComponent({
355355
</h4>
356356
<div v-if="isLoading && !reposTotalCount" class="ui attached segment" :class="{'is-loading': isLoading}"/>
357357
<div v-if="!isLoading && !reposTotalCount" class="ui attached segment empty-placeholder">
358-
<svg-icon name="octicon-git-branch" :size="24" class-name="empty-placeholder-icon"/>
358+
<svg-icon name="octicon-git-branch" :size="24" class="empty-placeholder-icon"/>
359359
<p>{{ textNoRepo }}</p>
360360
</div>
361361
<div v-if="reposTotalCount" class="ui attached segment repos-search">
@@ -371,7 +371,7 @@ export default defineComponent({
371371
otherwise if the "input" handles click event for intermediate status, it breaks the internal state-->
372372
<input type="checkbox" class="tw-pointer-events-none" v-bind.prop="checkboxArchivedFilterProps">
373373
<label>
374-
<svg-icon name="octicon-archive" :size="16" class-name="tw-mr-1"/>
374+
<svg-icon name="octicon-archive" :size="16" class="tw-mr-1"/>
375375
{{ textShowArchived }}
376376
</label>
377377
</div>
@@ -380,7 +380,7 @@ export default defineComponent({
380380
<div class="ui checkbox" ref="checkboxPrivateFilter" :title="checkboxPrivateFilterTitle">
381381
<input type="checkbox" class="tw-pointer-events-none" v-bind.prop="checkboxPrivateFilterProps">
382382
<label>
383-
<svg-icon name="octicon-lock" :size="16" class-name="tw-mr-1"/>
383+
<svg-icon name="octicon-lock" :size="16" class="tw-mr-1"/>
384384
{{ textShowPrivate }}
385385
</label>
386386
</div>
@@ -417,15 +417,15 @@ export default defineComponent({
417417
<ul class="repo-owner-name-list">
418418
<li class="tw-flex tw-items-center tw-py-2" v-for="repo, index in repos" :class="{'active': index === activeIndex}" :key="repo.id">
419419
<a class="repo-list-link muted" :href="repo.link">
420-
<svg-icon :name="repoIcon(repo)" :size="16" class-name="repo-list-icon"/>
420+
<svg-icon :name="repoIcon(repo)" :size="16" class="repo-list-icon"/>
421421
<div class="text truncate">{{ repo.full_name }}</div>
422422
<div v-if="repo.archived">
423423
<svg-icon name="octicon-archive" :size="16"/>
424424
</div>
425425
</a>
426426
<a class="tw-flex tw-items-center" v-if="repo.latest_commit_status_state" :href="repo.latest_commit_status_state_link" :data-tooltip-content="repo.locale_latest_commit_status_state">
427427
<!-- the commit status icon logic is taken from templates/repo/commit_status.tmpl -->
428-
<svg-icon :name="statusIcon(repo.latest_commit_status_state)" :class-name="'tw-ml-2 commit-status icon text ' + statusColor(repo.latest_commit_status_state)" :size="16"/>
428+
<svg-icon :name="statusIcon(repo.latest_commit_status_state)" :class="'tw-ml-2 commit-status icon text ' + statusColor(repo.latest_commit_status_state)" :size="16"/>
429429
</a>
430430
</li>
431431
</ul>
@@ -436,26 +436,26 @@ export default defineComponent({
436436
class="item navigation tw-py-1" :class="{'disabled': page === 1}"
437437
@click="changePage(1)" :title="textFirstPage"
438438
>
439-
<svg-icon name="gitea-double-chevron-left" :size="16" class-name="tw-mr-1"/>
439+
<svg-icon name="gitea-double-chevron-left" :size="16" class="tw-mr-1"/>
440440
</a>
441441
<a
442442
class="item navigation tw-py-1" :class="{'disabled': page === 1}"
443443
@click="changePage(page - 1)" :title="textPreviousPage"
444444
>
445-
<svg-icon name="octicon-chevron-left" :size="16" clsas-name="tw-mr-1"/>
445+
<svg-icon name="octicon-chevron-left" :size="16" clsas="tw-mr-1"/>
446446
</a>
447447
<a class="active item tw-py-1">{{ page }}</a>
448448
<a
449449
class="item navigation" :class="{'disabled': page === finalPage}"
450450
@click="changePage(page + 1)" :title="textNextPage"
451451
>
452-
<svg-icon name="octicon-chevron-right" :size="16" class-name="tw-ml-1"/>
452+
<svg-icon name="octicon-chevron-right" :size="16" class="tw-ml-1"/>
453453
</a>
454454
<a
455455
class="item navigation tw-py-1" :class="{'disabled': page === finalPage}"
456456
@click="changePage(finalPage)" :title="textLastPage"
457457
>
458-
<svg-icon name="gitea-double-chevron-right" :size="16" class-name="tw-ml-1"/>
458+
<svg-icon name="gitea-double-chevron-right" :size="16" class="tw-ml-1"/>
459459
</a>
460460
</div>
461461
</div>
@@ -473,14 +473,14 @@ export default defineComponent({
473473
</h4>
474474
<div v-if="isLoading" class="ui attached segment" :class="{'is-loading': isLoading}"/>
475475
<div v-if="!isLoading && !organizations.length" class="ui attached segment empty-placeholder">
476-
<svg-icon name="octicon-organization" :size="24" class-name="empty-placeholder-icon"/>
476+
<svg-icon name="octicon-organization" :size="24" class="empty-placeholder-icon"/>
477477
<p>{{ textNoOrg }}</p>
478478
</div>
479479
<div v-if="organizations.length" class="ui attached table segment tw-rounded-b">
480480
<ul class="repo-owner-name-list">
481481
<li class="tw-flex tw-items-center tw-py-2" v-for="org in organizations" :key="org.name">
482482
<a class="repo-list-link muted" :href="subUrl + '/' + encodeURIComponent(org.name)">
483-
<svg-icon name="octicon-organization" :size="16" class-name="repo-list-icon"/>
483+
<svg-icon name="octicon-organization" :size="16" class="repo-list-icon"/>
484484
<div class="text truncate">{{ org.full_name ? `${org.full_name} (${org.name})` : org.name }}</div>
485485
<div><!-- div to prevent underline of label on hover -->
486486
<span class="ui tiny basic label" v-if="org.org_visibility !== 'public'">
@@ -490,7 +490,7 @@ export default defineComponent({
490490
</a>
491491
<div class="text light grey tw-flex tw-items-center tw-ml-2">
492492
{{ org.num_repos }}
493-
<svg-icon name="octicon-repo" :size="16" class-name="tw-ml-1 tw-mt-0.5"/>
493+
<svg-icon name="octicon-repo" :size="16" class="tw-ml-1 tw-mt-0.5"/>
494494
</div>
495495
</li>
496496
</ul>

0 commit comments

Comments
 (0)