Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
See what's new at GitLab
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
O
OSMyBiz
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
35
Issues
35
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
2
Merge Requests
2
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
geometalab
OSMyBiz
Commits
b904ef21
Commit
b904ef21
authored
Jul 05, 2019
by
Seemann Benjamin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Work on url validation in the ui
parent
619f5ac5
Pipeline
#74695625
passed with stages
in 2 minutes and 53 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
frontend/osmybiz/src/api/osmybizApi.js
frontend/osmybiz/src/api/osmybizApi.js
+1
-0
frontend/osmybiz/src/components/detail/DetailForm.vue
frontend/osmybiz/src/components/detail/DetailForm.vue
+8
-1
No files found.
frontend/osmybiz/src/api/osmybizApi.js
View file @
b904ef21
...
...
@@ -27,6 +27,7 @@ export function addOrUpdateUser(userId, displayName) {
}
export
function
fetchBusinessPOIs
(
userId
)
{
console
.
log
(
'
fetchbusinessPOIS called by update.js
'
);
if
(
fakeOsmybizApi
)
{
return
mockFetchBusinessPOIs
(
userId
);
}
...
...
frontend/osmybiz/src/components/detail/DetailForm.vue
View file @
b904ef21
...
...
@@ -50,11 +50,18 @@
src=
"../../assets/info_black.png"
>
</div>
<input
type=
"text"
<input
v-validate=
"url"
:class=
"
{'is-error': errors.has('website')}"
type="text"
v-on:blur="blurOpeningHours()"
id="openingHoursURL"
v-model="details.opening_hours_url"
:placeholder="$t('detail.placeholders.opening_hours_url')">
<span
v-show=
"errors.has('website')"
class=
"help is-danger"
>
{{
$t
(
'
detail.validate.website
'
)
}}
</span>
</div>
<div
class=
"field"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment