fix(updates): clarify package modal copy
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
data-node-name="{{.Name}}"
|
||||
data-packages="{{.UpdatesDetails}}"
|
||||
>
|
||||
View
|
||||
View packages
|
||||
</button>
|
||||
{{end}}
|
||||
</div>
|
||||
@@ -251,7 +251,7 @@
|
||||
</thead>
|
||||
<tbody data-update-packages-body>
|
||||
<tr>
|
||||
<td colspan="4" class="text-body-secondary text-center py-4">No packages.</td>
|
||||
<td colspan="4" class="text-body-secondary text-center py-4">No pending packages.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@@ -161,7 +161,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
}
|
||||
|
||||
if (!Array.isArray(packages) || packages.length === 0) {
|
||||
body.innerHTML = `<tr><td colspan="4" class="text-body-secondary text-center py-4">No packages.</td></tr>`;
|
||||
body.innerHTML = `<tr><td colspan="4" class="text-body-secondary text-center py-4">No pending packages.</td></tr>`;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user