File tree Expand file tree Collapse file tree 7 files changed +13
-13
lines changed
frontend/src/app/Components/AppWidgets Expand file tree Collapse file tree 7 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { useTranslations } from "@/i18n/TranslationsProvider";
1111import CustomList from "@/app/Common/CustomList" ;
1212
1313// Conversation
14- function Conversations ( ) {
14+ function Conversations ( { title } ) {
1515 const [ search , setSearch ] = useState ( "" ) ;
1616 const [ page , setPage ] = useState ( 1 ) ;
1717 const t = useTranslations ( "Conversations" ) ;
@@ -28,7 +28,7 @@ function Conversations() {
2828
2929 return (
3030 < Widget
31- title = { t ( "title" ) }
31+ title = { title || t ( "title" ) }
3232 error = { error }
3333 onRefresh = { onRefresh }
3434 setSearch = { setSearch }
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { useTranslations } from "../../../../i18n/TranslationsProvider";
99import CustomList from "../../../Common/CustomList" ;
1010import moment from "moment" ;
1111// Docs
12- function Documents ( ) {
12+ function Documents ( { title } ) {
1313 // const [favorite, setFavorite] = useState(false);
1414 const [ search , setSearch ] = useState ( "" ) ;
1515 const [ page , setPage ] = useState ( 1 ) ;
@@ -28,7 +28,7 @@ function Documents() {
2828
2929 return (
3030 < Widget
31- title = { t ( "title" ) }
31+ title = { title || t ( "title" ) }
3232 // favorite={favorite}
3333 // setFavorite={setFavorite}
3434 search = { search }
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { useFetchWithRefresh } from "@/app/Common/CustomHooks/useFetchWithRefres
99import { useTranslations } from "../../../../i18n/TranslationsProvider" ;
1010import CustomList from "@/app/Common/CustomList" ;
1111
12- function Drive ( ) {
12+ function Drive ( { title } ) {
1313 // const [favorite, setFavorite] = useState(false);
1414 const [ search , setSearch ] = useState ( "" ) ;
1515 const [ page , setPage ] = useState ( 1 ) ;
@@ -28,7 +28,7 @@ function Drive() {
2828
2929 return (
3030 < Widget
31- title = { t ( "title" ) }
31+ title = { title || t ( "title" ) }
3232 // favorite={favorite}
3333 // setFavorite={setFavorite}
3434 setSearch = { setSearch }
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { useTranslations } from "@/i18n/TranslationsProvider";
1010import CustomList from "@/app/Common/CustomList" ;
1111
1212// NextCloud
13- function Files ( ) {
13+ function Files ( { title } ) {
1414 const [ searchTerm , setSearchTerm ] = useState ( "" ) ;
1515 const t = useTranslations ( "Files" ) ;
1616 const [ page , setPage ] = useState ( 1 ) ;
@@ -41,7 +41,7 @@ function Files() {
4141
4242 return (
4343 < Widget
44- title = { t ( "title" ) }
44+ title = { title || t ( "title" ) }
4545 setSearch = { onSearch }
4646 error = { error }
4747 onRefresh = { onRefresh }
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const copyToClipboard = (text) => {
1515} ;
1616
1717// meet
18- function Meet ( ) {
18+ function Meet ( { title } ) {
1919 // TODO search functionality is implemented in the frontend only because Meet dose not support search
2020 const [ search , setSearch ] = useState ( "" ) ;
2121 const [ page , setPage ] = useState ( 1 ) ;
@@ -27,7 +27,7 @@ function Meet() {
2727
2828 return (
2929 < Widget
30- title = { t ( "title" ) }
30+ title = { title || t ( "title" ) }
3131 error = { error }
3232 onRefresh = { onRefresh }
3333 setSearch = { setSearch }
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { useFetchWithRefresh } from "@/app/Common/CustomHooks/useFetchWithRefres
99import { useTranslations } from "../../../../i18n/TranslationsProvider" ;
1010import CustomList from "../../../Common/CustomList" ;
1111
12- function Sheets ( ) {
12+ function Sheets ( { title } ) {
1313 const selectedOrgStorage = localStorage . getItem ( "sheets_selected_org" ) ;
1414 const [ selectedOrg , setSelectedOrg ] = useState ( selectedOrgStorage || null ) ;
1515 const [ page , setPage ] = useState ( 1 ) ;
@@ -58,7 +58,7 @@ function Sheets() {
5858
5959 return (
6060 < Widget
61- title = { t ( "title" ) }
61+ title = { title || t ( "title" ) }
6262 onRefresh = { onRefresh }
6363 error = { errorSheets || errorOrgs }
6464 page = { page }
Original file line number Diff line number Diff line change 22 {
33 "httpRequest" : {
44 "method" : " GET" ,
5- "path" : " /api/v1.0/documents/"
5+ "path" : " /api/v1.0/documents/all/ "
66 },
77 "httpResponse" : {
88 "statusCode" : 200 ,
You can’t perform that action at this time.
0 commit comments