Skip to content

Commit

Permalink
fix and lint
Browse files Browse the repository at this point in the history
Signed-off-by: dartcafe <[email protected]>
  • Loading branch information
dartcafe committed Oct 10, 2024
1 parent 384e223 commit 869f48d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
1 change: 0 additions & 1 deletion lib/Model/Settings/AppSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use OCA\Polls\AppConstants;
use OCA\Polls\Model\Group\Group;
use OCA\Polls\UserSession;
// use OCP\AppFramework\Services\IAppConfig;
use OCP\IAppConfig;

class AppSettings implements JsonSerializable {
Expand Down
18 changes: 1 addition & 17 deletions src/components/Shares/SharePublicAdd.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import PlusIcon from 'vue-material-design-icons/Plus.vue'
import UserItem from '../User/UserItem.vue'
import { User, UserType, VirtualUserItemType } from '../../Types/index.ts'
import { VirtualUserItemType } from '../../Types/index.ts'
import { useSharesStore } from '../../stores/shares.ts'
const sharesStore = useSharesStore()
Expand All @@ -23,22 +23,6 @@
type: VirtualUserItemType.AddPublicLink,
}
const user: User = {
id: '',
displayName: '',
emailAddress: '',
isNoUser: false,
type: UserType.None,
subName: null,
subtitle: null,
desc: null,
organisation: null,
languageCode: null,
localeCode: null,
timeZone: null,
categories: null,
}
async function addPublicShare() {
try {
await sharesStore.addPublicShare()
Expand Down
2 changes: 1 addition & 1 deletion src/components/User/UserSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import { AppSettingsAPI } from '../../Api/index.js'
import { Logger } from '../../helpers/index.ts'
import { useSharesStore } from '../../stores/shares.ts'
import { User } from '../../Types/index.ts'
import { User } from '../../Types/index.ts'
const sharesStore = useSharesStore()
const users = ref([])
Expand Down

0 comments on commit 869f48d

Please sign in to comment.