Your WROLPi is up to date.
- Version: v{status?.version} on branch {status?.git_branch || 'unknown'}
+ Version: v{status?.version} on branch {status?.git_branch || 'unknown'}
+
- {checking ? 'Checking...' : 'Check for Updates'}
+ {checking ? 'Checking...' : 'Check for Upgrades'}
;
}
diff --git a/app/src/components/admin/Status.js b/app/src/components/admin/Status.js
index 00d63b73..ec64e8e7 100644
--- a/app/src/components/admin/Status.js
+++ b/app/src/components/admin/Status.js
@@ -1,6 +1,6 @@
import {Accordion, Header, Progress, Segment, Statistic, StatisticGroup, Table} from "../Theme";
import React, {useContext} from "react";
-import {InfoHeader, humanBandwidth, humanFileSize, LoadStatistic, useTitle} from "../Common";
+import {humanBandwidth, humanFileSize, InfoHeader, LoadStatistic, useTitle} from "../Common";
import {ProgressPlaceholder} from "../Placeholder";
import Grid from "semantic-ui-react/dist/commonjs/collections/Grid";
import {Media, SettingsContext, StatusContext, ThemeContext} from "../../contexts/contexts";
diff --git a/app/src/components/collections/CollectionEditForm.js b/app/src/components/collections/CollectionEditForm.js
index ab213e07..0e152baa 100644
--- a/app/src/components/collections/CollectionEditForm.js
+++ b/app/src/components/collections/CollectionEditForm.js
@@ -17,15 +17,15 @@ import {WROLModeMessage} from '../Common';
* @param {React.ReactNode} children - Form fields to render
*/
export function CollectionEditForm({
- form,
- onCancel,
- onSubmit,
- title,
- wrolModeContent,
- actionButtons,
- appliedTagName,
- children
-}) {
+ form,
+ onCancel,
+ onSubmit,
+ title,
+ wrolModeContent,
+ actionButtons,
+ appliedTagName,
+ children
+ }) {
const {SingleTag} = React.useContext(TagsContext);
const handleSubmit = (e) => {
diff --git a/app/src/components/collections/CollectionEditForm.test.js b/app/src/components/collections/CollectionEditForm.test.js
index a158107d..34fb8070 100644
--- a/app/src/components/collections/CollectionEditForm.test.js
+++ b/app/src/components/collections/CollectionEditForm.test.js
@@ -1,7 +1,14 @@
import React from 'react';
-import {render, renderInDarkMode, renderInLightMode, hasInvertedStyling, screen, createTestForm} from '../../test-utils';
+import {
+ createMockDomain,
+ createTestForm,
+ hasInvertedStyling,
+ render,
+ renderInDarkMode,
+ renderInLightMode,
+ screen
+} from '../../test-utils';
import {CollectionEditForm} from './CollectionEditForm';
-import {createMockDomain} from '../../test-utils';
// Mock the TagsContext
jest.mock('../../Tags', () => ({
diff --git a/app/src/components/collections/CollectionTable.js b/app/src/components/collections/CollectionTable.js
index 8f93d44b..b55601fe 100644
--- a/app/src/components/collections/CollectionTable.js
+++ b/app/src/components/collections/CollectionTable.js
@@ -3,8 +3,8 @@ import {Link} from 'react-router-dom';
import {Message, Placeholder, PlaceholderHeader, PlaceholderLine, Table, TableCell, TableRow} from 'semantic-ui-react';
import _ from 'lodash';
import {SortableTable} from '../SortableTable';
-import {humanFileSize, formatFrequency} from '../Common';
-import {ThemeContext, Media} from '../../contexts/contexts';
+import {formatFrequency, humanFileSize} from '../Common';
+import {Media, ThemeContext} from '../../contexts/contexts';
import {TagsContext} from '../../Tags';
/**
@@ -78,7 +78,7 @@ function renderRow(collection, columns, routes, inverted, SingleTag, onRowClick)
// Special handling for tag_name column - render SingleTag component
if (col.key === 'tag_name' && value) {
- value =