Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
karname-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Reza Sahebgharan
karname-ui
Commits
c4407c73
Commit
c4407c73
authored
Dec 28, 2019
by
Reza Sahebgharan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(delete Name from Devicemap): Delete Name from Devicemap Object
parent
7017294e
Pipeline
#763
passed with stages
in 48 minutes and 36 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
6 deletions
+18
-6
packages
.meteor/packages
+1
-0
versions
.meteor/versions
+9
-0
README.md
README.md
+1
-1
DeviceMap.vue
client/components/DeviceMap.vue
+0
-1
devicemap.js
imports/api/server/publications/devicemap.js
+7
-4
No files found.
.meteor/packages
View file @
c4407c73
...
...
@@ -16,3 +16,4 @@ accounts-password
ardatan:webpack
ardatan:webpack-dev-middleware
peerlibrary:reactive-publish
.meteor/versions
View file @
c4407c73
...
...
@@ -9,8 +9,11 @@ babel-runtime@1.5.0-alpha190.9
base64@1.0.12
binary-heap@1.0.11
boilerplate-generator@1.6.0
caching-compiler@1.2.1
callback-hook@1.1.0
check@1.3.1
coffeescript@2.4.1
coffeescript-compiler@2.4.1
ddp@1.4.0
ddp-client@2.3.3
ddp-common@1.4.0
...
...
@@ -50,6 +53,12 @@ mongo-id@1.0.7
npm-bcrypt@0.9.3
npm-mongo@3.3.0-alpha190.9
ordered-dict@1.1.0
peerlibrary:assert@0.3.0
peerlibrary:extend-publish@0.6.0
peerlibrary:fiber-utils@0.10.0
peerlibrary:reactive-mongo@0.4.0
peerlibrary:reactive-publish@0.10.0
peerlibrary:server-autorun@0.8.0
promise@0.11.2
random@1.1.0
rate-limit@1.0.9
...
...
README.md
View file @
c4407c73
...
...
@@ -37,7 +37,7 @@ services:
app:
container_name: karname-app
restart: always
image:
"karname-app"
image:
repo.marcopacs.com/karname/karname-app
ports:
- "80:3000"
environment:
...
...
client/components/DeviceMap.vue
View file @
c4407c73
...
...
@@ -260,7 +260,6 @@ export default {
if
(
this
.
selectedHisLink
!=
undefined
&&
this
.
selectedHisLink
!=
null
)
{
this
.
DevicemapForm
.
HisLinkId
=
this
.
selectedHisLink
.
_id
;
this
.
DevicemapForm
.
Name
=
this
.
selectedHisLink
.
Name
;
}
Meteor
.
call
(
"editDevicemap"
,
this
.
DevicemapForm
,
function
()
{
...
...
imports/api/server/publications/devicemap.js
View file @
c4407c73
...
...
@@ -2,8 +2,10 @@ import DeviceMap from '../../collections/devicemap';
import
{
check
}
from
'meteor/check'
;
Meteor
.
publish
(
"devicemaps"
,
function
()
{
if
(
!
this
.
userId
)
{
return
this
.
ready
();
}
return
DeviceMap
.
find
({});
this
.
autorun
(
function
(
computation
)
{
if
(
!
this
.
userId
)
{
return
this
.
ready
();
}
return
DeviceMap
.
find
({});
});
});
\ No newline at end of file
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