fix(dashboard): remove status list if there are none
- resolves https://github.com/nextcloud/server/issues/59334 If there are no status entries the list must be removed. Its not valid to show an empty list as per accessibility rules: https://www.w3.org/TR/wai-aria-1.2/#mustContain Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<template>
|
||||
<main id="app-dashboard">
|
||||
<h2>{{ greeting.text }}</h2>
|
||||
<ul class="statuses">
|
||||
<ul v-if="sortedRegisteredStatus.length > 0" class="statuses">
|
||||
<li
|
||||
v-for="status in sortedRegisteredStatus"
|
||||
:id="'status-' + status"
|
||||
|
||||
Reference in New Issue
Block a user